JavaScript has rich language features for representing and manipulating real world items as data. During this course, you will explore the basics of creating and working with functions, as well as creating and manipulating objects in JavaScript. Begin by learning how to use function arguments and pass functions as values. Next, you will study recursive and arrow functions, and learn scoping and how to differentiate between local and global variables. As you progress you will explore JavaScript's more common predefined functions, and create custom objects. Other topics include how to employ the FOR/IN loop, to retrieve object properties when their names are unknown; how to create custom objects with constructor functions; how to create object methods; how to employ the prototype keyword to add properties and methods to an object. Finally, you will learn how to use the PROTOTYPE keyword, to implement inheritance, and to extend classes.
Learning Objectives
{"work with functions in JavaScript"}
Framework Connections
Specialty Areas
- Software Development
Feedback
If you would like to provide feedback for this course, please e-mail the NICCS SO at NICCS@hq.dhs.gov.