Format of a JavaScript code
October 24, 2008 Javascript — Tags: format javascript, Javascript, javascript code — 52coding
JavaScript statements terminate with a semicolon, though not all statements need the terminator expressly given. If the JavaScript engine determines that a statement is complete (whatever that is for each type of statement), and the line ends with a new line character, the semicolon can be omitted:
Page 1 of 11

