Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Hide playlist

    Clone Objects and Copy Properties with ES2017 Property Descriptors

    Akash GuthaAkash Gutha

    Property descriptors describe the attributes of a property (its value, whether it is writable, etc.).

    We will look at Object.getOwnPropertyDescriptors() and present different use cases that it can be used in such as cloning objects, copying properties into an object.

    Property descriptors are not available in all browsers, example code will be added when available.

    You must be a Member to view code