JavaScript Basics

My image
  • Author: Marijn Haverbeke
  • Format: Markdown, PDF, HTML
  • Price: free

JavaScript is a rich and expressive language in its own right. This book covers the basic concepts of JavaScript, as well as some frequent pitfalls for people who have not used JavaScript before. While it will be of particular value to people with no programming experience, even people who have used other programming languages may benefit from learning about some of the peculiarities of JavaScript.

Chapters include:

  • Overview
  • Syntax Basics
  • Basic Operators
  • Operations on Numbers & Strings
  • Logical Operators
  • Comparison Operators
  • Conditional Code
  • Truthy and Falsy Things
  • Conditional Variable Assignment with The Ternary Operator
  • Switch Statements
  • The for loop
  • The while loop
  • The do-while loop
  • Breaking and continuing
  • Reserved Words
  • Arrays
  • Objects
  • Using Functions
  • Self-Executing Anonymous Functions
  • Functions as Arguments
  • Testing Type
  • The this keyword
  • Scope
  • Closures

Leave a Reply

Your email address will not be published. Required fields are marked *