4 Primer, part 2

This chapter covers

  • Understanding and using JavaScript functions
  • Using the JavaScript concise function syntax
  • Defining and using JavaScript arrays
  • Creating objects using the literal syntax
  • Using classes to create objects
  • Defining and using JavaScript modules

In this chapter, I continue to describe the basic features of TypeScript and JavaScript that are required for Angular development.

4.1 Preparing for this chapter

This chapter uses the Primer project created in chapter 3. No changes are required for this chapter. Open a new command prompt, navigate to the Primer folder, and run the command shown in listing 4.1 to start the Angular development tools.

Tip

You can download the example project for this chapter—and ...

Get Pro Angular 16 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.