Given the code below:
Given the code below: What is logged to the console? A. 1 2 3 B. 1 3 2 C. 2 1 3 D. 2 3 1
Refer to the code below:
Refer to the code below: What value can a developer expect when referencing o.js.secondCity? A. An error B. ‘New York’ C. ‘new york’ D. undefined
A developer creates a generic function to log custom messages in the console.
A developer creates a generic function to log custom messages in the console. To do this, the function below is implemented. Which three console logging methods allow the use of string substitution in line 02? (Choose three.) A. info B. error C. message D. assert E. log
A developer is trying to convince management that their team will benefit from using Node.js for a backend ser
A developer is trying to convince management that their team will benefit from using Node.js for a backend server that they are going to create. The server will be a web server that handles API requests from a website that the team has already built using HTML, CSS, and JavaScript. Which three benefits of Node.js […]
Which three statements are true about promises?
Which three statements are true about promises? (Choose three.) A. A promise has a .then() method B. A fulfilled or rejected promise will not change states C. The executor of a new Promise runs automatically D. A pending promise can become fulfilled, settled, or rejected E. A settled promise can become resolved
What are three characteristics of static methods?
What are three characteristics of static methods? Choose 3 answers. A. Initialized only when a class is loaded B. A static variable is available outside of the scope of an Apex transaction C. Allowed only in outer classes D. Allowed only in inner classes E. Excluded from the view state for a Visualforce page Reference: […]
In which two ways can the developer retrieve the available fields if the variable myObject represents the name
A developer needs to display all of the available fields for an object. In which two ways can the developer retrieve the available fields if the variable myObject represents the name of the object? Choose 2 answers. A. Use myObject.sObjectType.getDescribe ().fieldSet () to return a set of fields. B. Use SObjectType.myObject.fields.getMap() to return a map […]
Which two statements are true about using the @testSetup annotation in an Apex test class?
Which two statements are true about using the @testSetup annotation in an Apex test class? Choose 2 answers. A. Records created in the @testgroup method cannot be updated in individual test methods B. The @testSetup method is automatically executed before each test method in the test class is executed. C. The @testSetup annotation cannot be […]
What should the developer do to deploy to production?
A developer created a Visualforce page and a custom controller with methods to handle different buttons and events that can occur on the page. What should the developer do to deploy to production? A. Create a test class that provides coverage of the custom controller. B. Create a test page that provides coverage of the […]
What are three ways for a developer to execute tests in an org? Choose 3 answers.
What are three ways for a developer to execute tests in an org? Choose 3 answers. A. Setup Menu B. Developer Console C. Tooling API D. Bulk API E. Metadata API