Skip to main content

Module value

Module value 

Source
Expand description

Layer 0: Pure JavaScript value computation.

No OXC. No allocation. No AST. Just values in, values out. Every higher layer depends on this. This depends on nothing.

Modules§

array
Array.prototype method evaluation.
coerce
ECMAScript type coercion: ToNumber, ToString, ToBoolean.
json
JSON.parse / JSON.stringify on JsValue.
math
Math.* method evaluation.
number
Number methods and global numeric functions.
ops
JavaScript operators on JsValue: arithmetic, comparison, bitwise, shift.
runtime
Browser runtime APIs in pure Rust: atob, btoa, escape, unescape.
string
String.prototype method evaluation.
uri
URI encoding/decoding functions.

Enums§

JsValue
Compact JavaScript primitive value.