You are viewing a single comment's thread from:

RE: JavaScript - hasOwnProperty in `for-in` loops

in #programming7 years ago (edited)

Good post. I used to run into bugs when I forgot to use the object's hasOwnProperty. Using Eslint in your preferred code editor is actually a good idea for catching this kind of bugs. I use atom for my work and have an atom eslint plugin that checks for errors.

Also checkout my new post on Promise Chaining

https://steemit.com/javascript/@codero/javascript-promise-chaining

Coin Marketplace

STEEM 0.23
TRX 0.26
JST 0.039
BTC 105250.43
ETH 3337.94
SBD 4.84