MCPcopy Create free account
hub / github.com/Xu22Web/tech-study-js / createReadonly

Function createReadonly

tech-study.js:1169–1171  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

1167 * @returns
1168 */
1169const createReadonly = (target) => {
1170 return createReactiveObj(target, true, false);
1171};
1172/**
1173 * @description 顶层 readonly
1174 * @param target

Callers 1

readonlyFunction · 0.70

Calls 1

createReactiveObjFunction · 0.70

Tested by

no test coverage detected