MCPcopy
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 */
784function freeze(obj) {
785 if (!Object.freeze) {
786 return obj;
787 }
788 return Object.freeze(obj);
789}

Callers 2

pushStateMethod · 0.85
replaceStateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected