mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Fix typos "enumberable" -> "enumerable" (#3189)
JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
This commit is contained in:
parent
21e17a1412
commit
64774d30ae
@ -999,10 +999,10 @@ typedef struct
|
||||
* Bitfield which represents a namedata property options in an ecma_property_descriptor_t
|
||||
* Attributes:
|
||||
* - is_get_defined, is_set_defined : false
|
||||
* - is_configurable, is_writable, is_enumberable : undefined (false)
|
||||
* - is_configurable, is_writable, is_enumerable : undefined (false)
|
||||
* - is_throw : undefined (false)
|
||||
* - is_value_defined : true
|
||||
* - is_configurable_defined, is_writable_defined, is_enumberable_defined : true
|
||||
* - is_configurable_defined, is_writable_defined, is_enumerable_defined : true
|
||||
*/
|
||||
#define ECMA_NAME_DATA_PROPERTY_DESCRIPTOR_BITS 0x3c0
|
||||
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user