Questions tagged [javascript]
For questions about JavaScript's design, or languages which are closely related to JavaScript.
5
questions
2
votes
1
answer
450
views
Is it correct that Python does not encourage us to read objects's content? [closed]
After playing around Python a little bit, I feel like Python does not encourage us to read objects's content. Take JavaScript for example: just a simple act of calling an object will list all the ...
3
votes
1
answer
604
views
Why is the ECMAScript specification formatted the way it is? [closed]
The ECMAScript specification and its drafts are very accessible, but they're formatted a bit oddly -- case in point, the current version of the ToBigInt abstract operation uses three fonts:
The base (...
29
votes
1
answer
4k
views
Why did JavaScript choose to include a void operator?
In JavaScript, there is an operator void that, given an expression, evaluates it but then ignores the result and evaluates to ...
7
votes
1
answer
253
views
Why do many dynamically typed languages identify types with strings?
I noticed in JavaScript and Lua, 'types' i.e., those returned by typeof()/type() are just identified by strings. As such we see ...
2
votes
2
answers
227
views
What do various designers of JavaScript regret or dislike about its design? Given the opportunity, what would they do differently and why?
And are there underlying, unifying patterns to these regrets and how said creators would choose to create a revolutionary (in the sense of being "more than evolutionary" / making significant ...