Update the isArray operation to handle proxy objects (#3666)

Added step 3. from ECMA-262 v6, 7.2.2

JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi aszilagy@inf.u-szeged.hu
This commit is contained in:
Szilagyi Adam
2020-04-15 12:00:15 +02:00
committed by GitHub
parent 4342c9ea6f
commit d82bbb1c77
7 changed files with 92 additions and 10 deletions
+1 -1
View File
@@ -2807,7 +2807,7 @@ ecma_op_is_concat_spreadable (ecma_value_t arg) /**< argument */
return ecma_make_boolean_value (to_bool);
}
return (ecma_make_boolean_value (ecma_is_value_array (arg)));
return ecma_is_value_array (arg);
} /* ecma_op_is_concat_spreadable */
/**