Lesson 22

Using JavaScript Variables, Strings, and Arrays

What You’ll Learn in This Lesson:

  • Image How to name, declare, and assign variables

  • Image How to choose whether to use local or global variables

  • Image How to convert between different data types

  • Image How to create and use String objects

  • How to create and use arrays of numbers and strings

  • How to define, call, ...

Get Sams Teach Yourself HTML, CSS, and JavaScript All in One, Third Edition 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.