News for hackers. Stuff that matters.
Re:Ask HN: What would you change about JavaScript if you could? by hoodoof on Thursday September 07, 2017 @09:43PM (#15197303)
I'd REALLY like to be able to query deeply nested object attributes without having to test every single level of the object hierarchy to find if the attribute exists.

Function level scope would be great too - it would be good to conditionally declare and set variables in a function without needing to pre-declare the variable outside the condition test.

There are no comments on this comment yet.