Implement Array.flat and Array.flatMap (#3925)
JerryScript-DCO-1.0-Signed-off-by: bence gabor kis kisbg@inf.u-szeged.hu
This commit is contained in:
@@ -13,5 +13,5 @@
|
||||
// limitations under the License.
|
||||
|
||||
|
||||
var expected = '{"copyWithin":true,"entries":true,"fill":true,"find":true,"findIndex":true,"keys":true,"values":true}';
|
||||
var expected = '{"copyWithin":true,"entries":true,"fill":true,"find":true,"findIndex":true,"flat":true,"flatMap":true,"includes":true,"keys":true,"values":true}';
|
||||
assert(JSON.stringify(Array.prototype[Symbol.unscopables]) === expected);
|
||||
|
||||
Reference in New Issue
Block a user