Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ampproject/amphtml
/ freeze
Function
freeze
testing/fake-dom.js:784–789 ·
view source on GitHub ↗
* @param {!Object} obj * @return {!Object}
(obj)
Source
from the content-addressed store, hash-verified
782
* @
return
{!Object}
783
*/
784
function
freeze(obj) {
785
if
(!Object.freeze) {
786
return
obj;
787
}
788
return
Object.freeze(obj);
789
}
Callers
2
pushState
Method · 0.85
replaceState
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected