Coding with JavaScript for dummies / by Chris Minnick and Eva Holland.

Minnick, Chris, author.
Hoboken, New Jersey : John Wiley & Sons, Inc., 2015.
1 online resource (363 p.)
1st edition
--For dummies.
For Dummies

Location Notes Your Loan Policy


JavaScript (Computer program language).
Internet programming.
Web site development.
Web sites -- Design.
Electronic books.
System Details:
text file
Go from beginner to builder quickly with this hands-on JavaScript guide Coding with JavaScript For Dummies provides easy, hands-on instruction for anyone looking to learn this popular client-side language. No experience? No problem! This friendly guide starts from the very beginning and walks you through the basics, then shows you how to apply what you've learned to real projects. You'll start building right away, including web page elements and simple applications, so you can immediately see how JavaScript is used in the real world. Online exercises allow you to test your code and expand you
Chapter 2 Writing Your First JavaScript ProgramSetting Up Your Development Environment; Downloading and installing Chrome; Downloading and installing a code editor; Reading JavaScript Code; Running JavaScript in the Browser Window; Using JavaScript in an HTML event attribute; Using JavaScript in a script element; Including external JavaScript files; Using the JavaScript Developer Console; Commenting your code; Chapter 3 Working with Variables; Understanding Variables; Declaring Variables; Understanding Global and Local Scope; Naming Variables; Creating Constants Using the const Keyword
Working with Data TypesNumber data type; String data type; Boolean data type; NaN data type; undefined data type; Chapter 4 Understanding Arrays; Making a List; Array Fundamentals; Arrays are zero indexed; Arrays can store any type of data; Creating Arrays; Using the new keyword method; Array literal; Populating Arrays; Understanding Multidimensional Arrays; Accessing Array Elements; Looping through arrays; Array properties; Array methods; Using array methods; Chapter 5 Working with Operators, Expressions, and Statements; Express Yourself; Hello, Operator; Operator precedence
Types of OperatorsAssignment operators; Comparison operators; Arithmetic operators; String operator; Bitwise operators; Logical operators; Special operators; Combining operators; Chapter 6 Getting into the Flow with Loops and Branches; Branching Out; if . . . else; Switch; Here We Go: Loop De Loop; for; for . . . in; while loops; do. . . while; break and continue; Part II Organizing Your JavaScript; Chapter 7 Getting Functional; Understanding the Function of Functions; Using Function Terminology; Define a function; Function head; Function body; Call a function
Defining parameters and passing argumentsReturn a value; The Benefits of Using Functions; Writing Functions; Returning Values; Passing and Using Arguments; Passing arguments by value; Passing arguments by reference; Calling a function without all the arguments; Setting default parameter values; Calling a function with more argument than parameters; Getting into arguments with the arguments object; Function Scope; Anonymous Function; Knowing the differences between anonymous and named functions; Self-executing anonymous functions; Do it Again with Recursion; Functions within Functions
Chapter 8 Making and Using Objects
Includes index.
"For Dummies A Wiley Brand."
Description based on online resource; title from PDF title page (ebrary, viewed October 6, 2016).
Holland, Eva, author.