To enable the new API, this proposal modifies
The abstract operation ArrayCreate takes argument length (a non-negative
To enable the new API, this proposal modifies
The abstract operation GetTemplateObject is called with a
This adds a builtin static method to Array to allow distinguishing template string literal objects
Added under Properties of the Array Constructor:
When the isTemplateObject
method is called with argument value the following steps are taken:
IsTemplateObject is
In user code, Array.isTemplateObject(x) && x instanceof Array
is an equivalent
test, assuming no changes to builtins.