Because the designer had to shove something out the door in a hurry.
The language was relegated to minor tweak scripts for a decade until Douglas Crockford published "Javascript: The Good Parts" and made a language that was good enough to write client side code. Since then, it has made simple evolvutions for a decade to become the ECMA Script we use today.
There is an insane amount of backward compatibility, so a script saying "a == b" can rely on arcane conversion rules, though every build environment will scream about it.
View all comments
Show parent comment
4
u/AdvanceAdvance Mar 20 '24
Because the designer had to shove something out the door in a hurry.
The language was relegated to minor tweak scripts for a decade until Douglas Crockford published "Javascript: The Good Parts" and made a language that was good enough to write client side code. Since then, it has made simple evolvutions for a decade to become the ECMA Script we use today.
There is an insane amount of backward compatibility, so a script saying "a == b" can rely on arcane conversion rules, though every build environment will scream about it.