Page 17 - JavaScript
P. 17
Going custom 223
Chapter 33: Date Comparison 225
Examples 225
Comparing Date values 225
Date Difference Calculation 226
Chapter 34: Debugging 227
Examples 227
Breakpoints 227
Debugger Statement 227
Developer Tools 227
Opening the Developer Tools 227
Chrome or Firefox 227
Internet Explorer or Edge 227
Safari 228
Adding a breakpoint from the Developer Tools 228
IDEs 228
Visual Studio Code (VSC) 228
Adding a breakpoint in VSC 228
Stepping through code 228
Automatically pausing execution 229
Interactive interpreter variables 229
Elements inspector 230
Using setters and getters to find what changed a property 230
Break when a function is called 231
Using the console 231
Chapter 35: Declarations and Assignments 233
Syntax 233
Remarks 233
Examples 233
Reassigning constants 233
Modifying constants 233
Declaring and initializing constants 234

