I enjoyed this article! "How to get an Object Length" really undersells it. Didn't know about the enumerable property - or the weird thing with symbols. Great piece of writing.
Thanks David for the kind feedback! In regards to symbols, from the readings I gathered, it seems to serve one main purpose: create property keys without risking name collisions (since symbols are always unqiue). I have not personally used symbols in my daily programming yet. if you know of any other use cases, please do share. Might be an interesting one to cover in a future post, have to dig into it a bit further 😊
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.