Quantcast
Channel: User Simon_Weaver - Stack Overflow
Viewing all articles
Browse latest Browse all 116

Comment by Simon_Weaver on map function for objects (instead of arrays)

$
0
0
> You're not supposed to rely on the order of keys in objects anyway. I'm sorry (and how did that get so many upvotes) but in Javascript you absolutely can rely on the order of keys in an object and I very often do. If it is convenient to whatever you're coding then go for it - just be aware that in other languages it may not work the same way.

Viewing all articles
Browse latest Browse all 116

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>