Independently published, 2021. — 217 p. — (Book 1 of 3). — ASIN B08XPQRFJK.
The market is filled to the brim with books that claim to have the secret recipe to help you learn JavaScript faster. However, few live up to the promises they make. This book is written in a practical and easy way and offers theory and plenty of practical material. There are explanations and practical examples that help beginners learn fast. Instead of diving deeper into lengthy and boring texts, I tried to get straight to the point for each topic.
I have defined each topic and added an easy to understand explanation to help you understand the concepts and the main keywords that will do the magic in the code. Coupled with the explanation, you will find a code snippet for each topic that is custom written and has been tested for errors. You can copy them and load them up on a web browser to see the results, or you can simply edit them and customize them to understand them well. The choice is yours.
This book is written in an orderly form with beginner-level topics and progressively tougher topics later on. Here is a rundown of the contents of the book.
JavaScript Use Cases
Variables
Constants
Prompts
Conditionals
Arrays
Strings
JavaScript For and While Loops
Functions
Objects
Classes
Now is your chance to delve into JavaScript basics with this easy to follow guide. With the many examples and code snippets, you’ll have everything you need at your fingertips.
An Introduction to JavaScript
The Developer of JavaScript
The Use Cases of JavaScript
The script Tag
Display
Values
Numbers
Arithmetic
Strings
JavaScript Arrays
JavaScript Variables
JavaScript Identifiers
Datatypes
Declaration of Variables
The Undefined Variables
Re-Declaration
Arithmetic
JavaScript String Concatenation
JavaScript Let Keyword
JavaScript Constants
Block Scope
Primitive Values
JavaScript Constants
Prompts and Conditionals
The JavaScript if Statement
The else Statement
The else if Statement
JavaScript Switch Statement
JavaScript Strings and Arrays
The lastIndexOf() Method
What If the Index Is Not Found?
The search() Method
JavaScript Arrays
JavaScript Array concat()
Array Sorting
Reverse Gear
Sorting Numeric
Compare Function
Random Sorting
Array Values
Object Array Sorting
JavaScript Iteration
JavaScript Loops
The for/in Loop
The forEach() Loop
The for/of Loop
Eternal Loops
JavaScript while Loops
The do/while Loop
JavaScript Break and Continue Statements
JavaScript Functions
The Invocation of Function
The () Operator
Functions as Variables
Local Variables
JavaScript Expressions
The constructor()
Self-Invoking
Functions or Objects
The toString() Method
Arrow Functions
Parameters & Arguments
Invocation
Global Objects
Reusing Methods
JavaScript Objects
The new Keyword
Object Properties
The Deletion
Dates
JavaScript Classes
Passing Parameters
Class Inheritance