I’m kind of shocked nowadays when I see anyone using the
<script> tags. But I’ve noticed a disturbing trend recently: the user of
- No support for Unicode characters.
- Array initialization with a single number creates an array with the number as its sole item instead of using it as the array length.
splice()method return an object if only one item is removed and an array if more than one item is removed instead of always returning an array.
- Date behavior is platform-dependent instead of platform-independent.
- Boolean objects with a value of false evaluate to false even though all objects should evaluate to true when converted to a Boolean value.