Page 30 - JavaScript
P. 30
Object.defineProperty 394
Read-Only property 394
Non enumerable property 395
Lock property description 395
Accesor properties (get and set) 396
Properties with special characters or reserved words 396
All-digit properties: 397
Dynamic / variable property names 397
Arrays are Objects 398
Object.freeze 399
Object.seal 400
Creating an Iterable object 401
Object rest/spread (...) 401
Descriptors and Named Properties 402
meaning of fields and their defaults 403
Object.getOwnPropertyDescriptor 404
Object cloning 404
Object.assign 405
Object properties iteration 406
Retrieving properties from an object 407
Characteristics of properties : 407
Purpose of enumerability : 407
Methods of retrieving properties : 407
Miscellaneous : 409
Convert object's values to array 409
Iterating over Object entries - Object.entries() 410
Object.values() 410
Chapter 72: Performance Tips 412
Introduction 412
Remarks 412
Examples 412
Avoid try/catch in performance-critical functions 412

