Book Image

Object-Oriented JavaScript - Third Edition

By : Stoyan STEFANOV, Antani
5 (1)
Book Image

Object-Oriented JavaScript - Third Edition

5 (1)
By: Stoyan STEFANOV, Antani

Overview of this book

JavaScript is an object-oriented programming language that is used for website development. Web pages developed today currently follow a paradigm that has three clearly distinguishable parts: content (HTML), presentation (CSS), and behavior (JavaScript). JavaScript is one important pillar in this paradigm, and is responsible for the running of the web pages. This book will take your JavaScript skills to a new level of sophistication and get you prepared for your journey through professional web development. Updated for ES6, this book covers everything you will need to unleash the power of object-oriented programming in JavaScript while building professional web applications. The book begins with the basics of object-oriented programming in JavaScript and then gradually progresses to cover functions, objects, and prototypes, and how these concepts can be used to make your programs cleaner, more maintainable, faster, and compatible with other programs/libraries. By the end of the book, you will have learned how to incorporate object-oriented programming in your web development workflow to build professional JavaScript applications.
Table of Contents (19 chapters)
15
B. Built-in Functions
17
D. Regular Expressions

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The Triangle constructor takes three point objects and assigns them to this.points (its own collection of points)."

A block of code is set as follows:

    function sum(a, b) { 
    var c = a + b;
    return c;
    }

Any command-line input or output is written as follows:

  mkdir babel_test
  cd babel_test && npm init
  npm install --save-dev babel-cli

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "In order to bring up the console in Chrome or Safari, right-click anywhere on a page and select Inspect Element . The additional window that shows up is the Web Inspector feature. Select the Console tab, and you're ready to go".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.