MCPcopy Create free account
hub / github.com/NeilFraser/JS-Interpreter / encodeValue_

Function encodeValue_

demos/serialize.js:465–488  ·  view source on GitHub ↗

* Given a real value, encode it to a serialized value. * Most values are themselves. But objects are references, and Infinity, NaN, * -0 and undefined are specially encoded. * @param {*} value Real value. * @returns {*} Serialized value.

(value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

serializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…