Fix typos "enumberable" -> "enumerable" (#3189)
JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
This commit is contained in:
committed by
Robert Fancsik
parent
21e17a1412
commit
64774d30ae
@@ -497,7 +497,7 @@ ecma_fast_array_set_length (ecma_object_t *object_p, /**< fast access mode array
|
||||
/**
|
||||
* Get collection of property names of a fast access mode array object
|
||||
*
|
||||
* Note: Since the fast array object only contains indexed, enumberable, writable, configurable properties
|
||||
* Note: Since the fast array object only contains indexed, enumerable, writable, configurable properties
|
||||
* we can return a collection of non-array hole array indices
|
||||
*
|
||||
* @return collection of strings - property names
|
||||
|
||||
@@ -374,11 +374,11 @@ ecma_op_general_object_define_own_property (ecma_object_t *object_p, /**< the ob
|
||||
|| current_property_type == ECMA_PROPERTY_TYPE_VIRTUAL);
|
||||
|
||||
/* 7. a., b. */
|
||||
bool is_enumberable = (property_desc_p->flags & ECMA_PROP_IS_ENUMERABLE) != 0;
|
||||
bool is_enumerable = (property_desc_p->flags & ECMA_PROP_IS_ENUMERABLE) != 0;
|
||||
if (!is_current_configurable
|
||||
&& ((property_desc_p->flags & ECMA_PROP_IS_CONFIGURABLE)
|
||||
|| ((property_desc_p->flags & ECMA_PROP_IS_ENUMERABLE_DEFINED)
|
||||
&& (is_enumberable != ecma_is_property_enumerable (current_prop)))))
|
||||
&& (is_enumerable != ecma_is_property_enumerable (current_prop)))))
|
||||
{
|
||||
if (current_property_type == ECMA_PROPERTY_TYPE_VIRTUAL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user