Top 10 Quick Tips for JavaScript Developers

Jay Chow
JavaScript in Plain English
6 min readApr 27, 2020

--

We have heard the word “data binding” more often in the programming. The key to “data binding” is to monitor the changes of data, but for such an object: let obj = {value: 1}, how should we know that obj had Changed?

1. defineProperty

ES5 provides the Object.defineProperty method, which can define a new property on an object, or modify an existing…

--

--

Full Stack Developer — Typescript | Javascript | NodeJS | Python |MongoDB | ReactJS | VueJS | EmberJS — Blog writer & Professional writer❤️ @ shijiezhou.com