Skip to content

Commit 64774d3

Browse files
Daniel Ballarerobika
authored andcommitted
Fix typos "enumberable" -> "enumerable" (#3189)
JerryScript-DCO-1.0-Signed-off-by: Daniel Balla [email protected]
1 parent 21e17a1 commit 64774d3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

jerry-core/ecma/base/ecma-globals.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -999,10 +999,10 @@ typedef struct
999999
* Bitfield which represents a namedata property options in an ecma_property_descriptor_t
10001000
* Attributes:
10011001
* - is_get_defined, is_set_defined : false
1002-
* - is_configurable, is_writable, is_enumberable : undefined (false)
1002+
* - is_configurable, is_writable, is_enumerable : undefined (false)
10031003
* - is_throw : undefined (false)
10041004
* - is_value_defined : true
1005-
* - is_configurable_defined, is_writable_defined, is_enumberable_defined : true
1005+
* - is_configurable_defined, is_writable_defined, is_enumerable_defined : true
10061006
*/
10071007
#define ECMA_NAME_DATA_PROPERTY_DESCRIPTOR_BITS 0x3c0
10081008

jerry-core/ecma/operations/ecma-array-object.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ ecma_fast_array_set_length (ecma_object_t *object_p, /**< fast access mode array
497497
/**
498498
* Get collection of property names of a fast access mode array object
499499
*
500-
* Note: Since the fast array object only contains indexed, enumberable, writable, configurable properties
500+
* Note: Since the fast array object only contains indexed, enumerable, writable, configurable properties
501501
* we can return a collection of non-array hole array indices
502502
*
503503
* @return collection of strings - property names

jerry-core/ecma/operations/ecma-objects-general.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,11 +374,11 @@ ecma_op_general_object_define_own_property (ecma_object_t *object_p, /**< the ob
374374
|| current_property_type == ECMA_PROPERTY_TYPE_VIRTUAL);
375375

376376
/* 7. a., b. */
377-
bool is_enumberable = (property_desc_p->flags & ECMA_PROP_IS_ENUMERABLE) != 0;
377+
bool is_enumerable = (property_desc_p->flags & ECMA_PROP_IS_ENUMERABLE) != 0;
378378
if (!is_current_configurable
379379
&& ((property_desc_p->flags & ECMA_PROP_IS_CONFIGURABLE)
380380
|| ((property_desc_p->flags & ECMA_PROP_IS_ENUMERABLE_DEFINED)
381-
&& (is_enumberable != ecma_is_property_enumerable (current_prop)))))
381+
&& (is_enumerable != ecma_is_property_enumerable (current_prop)))))
382382
{
383383
if (current_property_type == ECMA_PROPERTY_TYPE_VIRTUAL)
384384
{

0 commit comments

Comments
 (0)