13. JavaScript Programming Paradigms

Overview

By the end of this chapter, you will be able to apply different JavaScript paradigms; use prototypes, inheritance, and anonymous functions; list different types of data scopes and closures; declare variables using hoisting; and explain JavaScript memory management.

In this chapter, we will dig deep into the core features of JavaScript that make it a very diverse and multi-paradigm programming language.

Introduction

So far, we know the importance of JavaScript at the browser level and its power at the server level. We have learned how to install Node.js on the system and how to write and execute code. Also, we have gained a huge amount of knowledge about the internal and external modules of ...

Get The JavaScript Workshop now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.