© 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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.