Table of Contents
Preface
Part 1: JavaScript Syntax
Chapter 1: Exploring the Core Concepts of JavaScript
Technical requirements
Types of variables used in JavaScript
Numerical values
Boolean values
Character strings
Arrays
Objects
Running a JavaScript program
Running a JavaScript program in a browser
Running a JavaScript program on a Node.js server
Differences between JavaScript code written for the browser and the server
Declaring variables in JavaScript
Using the const keyword
Using the var keyword
Using the let keyword
What if we don’t use var or let to define a variable?
What is an uninitialized variable worth?
Writing conditions for conditional tests
Forms of writing instructions
Expressions used to write conditions
Nested test suites
Get JavaScript from Frontend to Backend 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.