JavaScript Object Property Descriptors

In JavaScript, you can create an object literal as shown in the listing below:At first sight, it looks like the object cat has two properties with a string and number value. However, it’s much more than that to a JavaScript interpreter. In ES5, the concept of a Property Descriptor was introduced. Before we go aheadContinueContinue reading “JavaScript Object Property Descriptors”