Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
1169
const
createReadonly = (target) => {
1170
return
createReactiveObj(target, true, false);
1171
};
1172
/**
1173
* @description 顶层 readonly
1174
* @param target
Callers
1
readonly
Function · 0.70
Calls
1
createReactiveObj
Function · 0.70
Tested by
no test coverage detected