Enable {Array, %TypedArray%}.prototype.includes

This commit is contained in:
NTD
2016-10-24 21:15:38 -04:00
committed by roytam1
parent 71b0c81d72
commit 8d98d497b3
2 changed files with 3 additions and 4 deletions
-2
View File
@@ -3160,9 +3160,7 @@ static const JSFunctionSpec array_methods[] = {
JS_SELF_HOSTED_FN("keys", "ArrayKeys", 0,0),
/* ES7 additions */
#ifdef NIGHTLY_BUILD
JS_SELF_HOSTED_FN("includes", "ArrayIncludes", 2,0),
#endif
JS_FS_END
};