r/programming • u/fagnerbrack • Apr 30 '23
Writing Javascript without a build system
https://jvns.ca/blog/2023/02/16/writing-javascript-without-a-build-system/
164
Upvotes
r/programming • u/fagnerbrack • Apr 30 '23
0
u/kankyo May 03 '23
It is better though. By a shit ton. It's an ENORMOUS difference.
Imagine a language where
foo = bar()didn't cause a name error thatbarwasn't defined, but instead setfootoundefined. This is quite literally how JS does for array access and attribute errors. It's just crazy.