Manage Edit Post Logout Login

I Love Javascript!

PHP? Old Hat. C#? Fuggedaboudit. Javascript! That’s where it’s at.

« Back to blog

Semi-colons should be considered mandatory in Javascript

As long as this

var obj={a:'a', b:'b'};
var a = obj
[a].forEach(()=>{})

produces an error, semi-colons are mandatory and any suggestion to the contrary is childish perversity.


Upvote Upvoted 0
Tweet
Like this post?
Subscribe by email » We'll email you when there are new posts here.
You're following this blog. Unfollow »
Follow this Posthaven »
Enter your email address to get email alerts about new posts on this site. Unsubscribe anytime.
Email address is invalid.
0 responses
Add Website URL »
  • Link Blog
  • How Smart Am I?
  • Github
  • Non-Technical Blog

TQ White II

Software developer interested in pretty much everything. I've always read a lot, written a lot and argued a lot. I am rarely too strongly interested in common things. I am curious and have strong opinions. I am a hard core liberal.

See me on Mastodon or Newsie
Posted