Expand description
Methods defined in the ECMAScript Language Specification.
§Cargo features
side_effects: Enables side-effect analysis.constant_evaluation: Enables constant evaluation and impliesside_effects.
Structs§
Enums§
- Constant
Value - String
Char AtResult - Value
Type - JavaScript Language Type
Traits§
- Array
Join - Bound
Names - Determine
Value Type - Based on
get_known_value_typein closure compiler https://github.com/google/closure-compiler/blob/v20240609/src/com/google/javascript/jscomp/NodeUtil.java#L1517 - Global
Context - IsSimple
Parameter List IsSimpleParameterList- Private
Bound Identifiers PrivateBoundIdentifiers- Prop
Name PropName- String
Char At - String
Char Code At - String
Index Of - String
Last Index Of - String
Substring - String
ToBig Int StringToBigInt- String
ToNumber - ToBig
Int ToBigInt- ToBoolean
ToBoolean- ToInt32
- Converts a 64-bit floating point number to an
i32according to theToInt32algorithm. - ToInteger
Index - Convert a value to u32 if the value can be an integer index and can be represented with u32.
- ToJs
String ToString- ToNumber
ToNumber- ToPrimitive
ToPrimitive- ToUint32
Functions§
- with_
number_ literal - Call
fwith the shortest JavaScript source representation of a non-negative finite number.