Unexpected usage of Array.length

added by JavaScript Kicks
1/14/2016 2:58:35 PM

757 Views

I like reading code of other developers. It’s a nice way to learn patterns, techniques and small tricks. Recently I found something about Array.prototype.length which caught my attention. We all know that while working with Arrays .length returns the number of the added items...


0 comments