Open in app
Jason Knight
111 Followers
About

Sign in

111 Followers
About
Open in app
JavaScript: Object.defineProperty
163
1

Heloise Parein

Jason Knight

Jason Knight

Jun 20, 2020·1 min read

Good article, but I think it could be improved if you were to also cover defineProperties... the plural version being able to set multiple all at once off an object is very useful.

I consider it superior for object generation as it gives you a level of control of access that's flat out missing from either.

Written by

Jason Knight

More from Jason Knight

More From Medium

“The CSS Universal Selector Is Slow And Should Be Avoided” — Yet Another Lie!

Jason Knight in Level Up Coding

CSS Layouts — Using Flex-Wrap To Get Off The Grid

Jason Knight in Level Up Coding

Stop Making Incomplete Inaccessible Forms!

Jason Knight in Level Up Coding

HTTP 2 Push: Fact? Fiction? Placebo?

Jason Knight in Level Up Coding

The “Live DOM” Is Not “Slow”, “Bad”, Or “Wrong”. Web Developers Are.

Jason Knight in Level Up Coding

HTML/CSS “Analog Clock” With Minimal Javascript

Jason Knight in Level Up Coding

JavaScript Table Sorting (Part 2 of 2) — Enhancement!

Jason Knight in Level Up Coding

JavaScript Table Sorting (Part 1 of 2) — Start Out Simple

Jason Knight in Level Up Coding

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store