|From: Susruthan Seran <email@example.com>|
|Date: 16 Aug 2016 22:51:17 Hong Kong Time|
Looking for help on a problem I've found in JS.
Hi I've found a issue with JS. Today accidentally I put unnecessary curly brackets after a if function, but the code is working but not properly. Then I tested with several scenario, it's all working without showing any error but not properly. I expected to show error for those curly brackets but it didn't. I have attached a sample code with this mail. I'm looking for some help on this. It's in the syntax or it's a bug, I'm not sure. Please have a look.. > > >