- Syntax mistakes:
typos, inaccurate use quotes, braces, semi-colons, and so on
// missing out on semi-colon var x = 10 console.log( x). // inaccurate use quotes. var name="John console.log( name).
- Off-by-one mistakes:
utilizing the incorrect selection index or loophole limitation.
// inaccurate selection index.
var arr = [1, 2, 3, 4, 5];.
for (var i = 0; i <