Skip to main content

Learn JavaScript - Introduction

JavaScript program is made up with series of statements and each statement ends with a new line or semicolon.
Its not compulsory to terminate a statement with semicolon as JavaScript interpreter use a process called Automatic Semicolon Insertion(ASI). This process will attempt to place semicolons at the end of the line for you.

But, it is best practice to write statement in a new line and terminate by a semi-colon.
JavaScript beginner tutorial

Comments

Popular posts from this blog

Learn HTML in Hindi - 1st lesson.

अधिकांश HTML तत्वों में एक प्रारंभिक टैग और एक समापन टैग होता है। उद्घाटन टैग इस तरह दिखते हैं: <H1> बंद टैग इस तरह दिखते हैं: </ H1> उद्घाटन और समापन टैग के बीच एकमात्र अंतर एक समापन टैग के उद्घाटन ब्रैकेट के बाद आगे की स्लैश है।