© Adam Freeman 2018
Adam FreemanPro Vue.js 2https://doi.org/10.1007/978-1-4842-3805-9_4

4. Essential JavaScript Primer

Adam Freeman1 
(1)
London, UK
 
In this chapter, I provide a quick tour of the most important features of the JavaScript language as they apply to Vue.js development. I don’t have the space to describe JavaScript completely, so I have focused on the essentials that you’ll need to get up to speed and follow the examples in this book. Table 4-1 summarizes the chapter.
Table 4-1

Chapter Summary

Problem

Solution

Listing

Provide instructions that will be executed by the browser

Use JavaScript statements

5

Delay execution of statements until they are required

Use JavaScript functions

6–8, 11, 12

Define functions with variable numbers of parameters

Use ...

Get Pro Vue.js 2 now with O’Reilly online learning.

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