Programming in JavaScript

JavaScript is one of the most powerful languages that plays a vital role in any web development project and delivers client-side support and rich functionality. In this section, we will discuss the core concepts of writing programs in JavaScript and use them in web applications.

Core fundamentals of JavaScript

Like any other programming language, JavaScript also has statements, expressions, operators, and specific syntax to write and run programs. We will go through the following topics in this section:

  • Adding JavaScript to an HTML page
  • Statements
  • Literals and variables
  • Data types
  • Expressions and operators

Adding JavaScript to an HTML page

Every modern browser has a JavaScript engine that compiles your JavaScript defined on the ...

Get JavaScript for .NET Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.