"[They] were so preoccupied with whether or not they could that they didn't stop to think if they should."
@richardrisner921
Жыл бұрын
I think that's elegant. You have one paradigm. You can conceptualize a JavaScript object as an array or as a dictionary or as a list, and you can just use one set of common syntax to manipulate any kind of object. Why waste time learning three different kinds of syntax to manipulate what is fundamentally the same kind of thing to the computer? If you need the performance of actually using a different kind of data structure, JavaScript probably isn't the tool you need for the job you are trying to do.
@Yeasiin
Жыл бұрын
definitely gonna use the last one.. finding the middle of an array.
@meetmeer
Жыл бұрын
Please keep uploading my aWESome man
@WesBos
Жыл бұрын
That's the plan!
@alensljivar2425
Жыл бұрын
Nice!
@sanusihassan7125
Жыл бұрын
i love it
@r-i-ch
Жыл бұрын
On the one-hand, *cool*. On the other - This would be a nightmare to read and make sense of X-P
@dazecm
Жыл бұрын
Sorcery! 🙂
@taofeeqomotolani2311
Жыл бұрын
Wow 😳😳
@christian-schubert
Жыл бұрын
Initial thought when first seeing this was "DA F*** does he destructure 'length' for?" But yeah, ARRAYS ARE OBJECTS - so {length} will of course refer to the Array.prototype.length property 😅
@WesBos
Жыл бұрын
pretty neat eh
@kingsleykingsley4583
Жыл бұрын
Confused
@Thorax232
Жыл бұрын
you're out of control
@sandeepsharma-nf2fp
Жыл бұрын
First view haha
@AndersonSilvaMMA
Жыл бұрын
People, please don't do this. Do it the right, more readable way
Пікірлер: 17