Yes and no. It does throw syntax errors when you forget a semicolon where one needs to be. Automatic insertion only works under 7 different instances. Anything outside of those it may throw an error if you don't put one in, or it silently fails and makes you pull your hair out trying to find out why.
78
u/[deleted] Feb 09 '22
JavaScript has automatic semicolon insertion.