Add unscopables check to ecma_op_get_value_lex_env_base (#3476)
Also added a special test case for this to symbol-unscopables.js JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi aszilagy@inf.u-szeged.hu
This commit is contained in:
committed by
Robert Fancsik
parent
003694d259
commit
aedd55b1f8
@@ -102,7 +102,7 @@ ecma_op_resolve_super_reference_value (ecma_object_t *lex_env_p) /**< starting l
|
||||
* ECMA_VALUE_FALSE - if a the property is not unscopable
|
||||
* ECMA_VALUE_ERROR - otherwise
|
||||
*/
|
||||
static ecma_value_t
|
||||
ecma_value_t
|
||||
ecma_op_is_prop_unscopable (ecma_object_t *lex_env_p, /**< lexical environment */
|
||||
ecma_string_t *prop_name_p) /**< property's name */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user