Skip to main content

INSTANCE_METHODS

Constant INSTANCE_METHODS 

Source
pub const INSTANCE_METHODS: &[&str];
Expand description

Every method instance_call below answers. valueOf and toString are on this list because Object.prototype has methods by those names too: without the entry, host::call_method hands a Date to object_builtin_method and date.valueOf() returns the Date itself instead of its time value (so +d and d - 0 were NaN).