© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
M. SimonJavaScript for Web Developershttps://doi.org/10.1007/978-1-4842-9774-2_1

1. Working with JavaScript

Mark Simon1  
(1)
Ivanhoe, VIC, Australia
 

If you’re completely new to JavaScript, or to programming altogether, there are some basic concepts that you’ll need to know. Many of these concepts are common to other programming languages, but every language has its own twists and quirks.

In this chapter, we’ll have an introductory look at the following ideas:
  • How you write JavaScript statements

  • Working with variables

  • Working with different types of basic data

  • Functions

  • Adding comments to your code

  • Special values

Even if you’re familiar with these concepts ...

Get JavaScript for Web Developers: Understanding the Basics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.