Skip to main content

Review Objects, Functions, and Classes

Learning Objectives

After completing this unit, you’ll be able to:

  • Locate the best function implementation.
  • Apply fundamentals of object implementation to solve the business requirement.
  • Apply fundamentals of class implementation to solve the business requirement.
  • Give examples of how to use a module.
  • Analyze the variable scope and the execution flow.

Key Topics

This unit prepares you for the Objects, Functions, and Classes section of the Salesforce JavaScript Developer I multiple-choice exam, which makes up 25% of the overall exam. This section of the exam tests these topics.

  • Best function implementation
  • Fundamentals of object implementation
  • Fundamentals of class implementation
  • How to use the modules
  • Variable scope and the execution flow

Like the previous unit, this unit contains practice scenario-based questions and flashcards.

Download the Guide

Would you like a hard copy of this module’s content as a study aid? Download the Salesforce JavaScript Developer I Cert Prep: Variables, Types, Collections, Objects, Functions, and Classes guide. (Each module in this trail includes a link to a printable version of the content that you can download.)

Exam Practice Questions

Ready to jump in? The sample tool below is not scored—it’s just an easy way to quiz yourself. To use it, read the scenario, then click the answer you think is correct. Some questions may have more than one correct answer. Click Submit to learn whether the answer you chose is correct or incorrect, and why. If there’s a longer explanation, click Expand button to expand the window, then click anywhere in the window to close it. When you reach the end, you can review the answers or retake the questions.

Did you get a scenario wrong? Check out the table below for related study material.

Scenario 1
Study object basics or working with objects to review ways of working with objects.
Scenario 2
Review the ways to import methods by reading through the MDN web docs: import.

Exam Topic Flashcards

The following flashcards cover Objects, Functions, and Classes. Use these interactive flashcards to brush up on some of the key topics you'll find on this part of the exam.

Read the question or term on each card, then click or tap on the card to reveal the correct answer. Click the right-facing arrow to move to the next card, and the left-facing arrow to return to the previous card.

Did you get a flashcard wrong? Check out the table below for related study material.

Flashcard 1
Study up on object declarations by reviewing JavaScript.info: objects.
Flashcard 2
Read through the MDN web docs: Functions to get a better understanding of JavaScript functions.

Looking for more information? Explore these related badges.

Badge
Content Type
JavaScript Skills for Salesforce Developers badge. JavaScript Skills for Salesforce Developers
Module
Modern JavaScript Development badge. Modern JavaScript Development
Module

Congratulations. You’ve covered over 45% of the Salesforce JavaScript Developer I multiple-choice exam material in this badge. 

You’ve reviewed these sections. 

  • Variables, Types, and Collections
  • Objects, Functions, and Classes

Be sure to review the other two Salesforce JavaScript Developer I Certification Prep badges. Good luck on your exam!

Resources

Keep learning for
free!
Sign up for an account to continue.
What’s in it for you?
  • Get personalized recommendations for your career goals
  • Practice your skills with hands-on challenges and quizzes
  • Track and share your progress with employers
  • Connect to mentorship and career opportunities