Salesforce Javascript Developer 1 Exam Questions And Answers (Verified And Updated)
Salesforce Javascript Developer 1 Exam Questions And Answers (Verified And Updated) A promise is - answeran object returned by asynchronous code async/await syntax is syntactic sugar for - answerpromises the async keyword is added to the front of a - answerfunction that should contain asynchronous code the await keyword is added to the front of an asynchronous function call that returns - answera promise the insertAfter() method can be used to add an element to the DOM after a given element (T/F) - answerFalse. There is an insertBefore() method but no insertAfter() method. A javascript object can be stored in a browser's localStorage using - answerJSON.stringify() What are the additional reload options available via long click in Chrome? - answer- Normal Reload - Hard Reload - Empty Cache and Hard Reload DevTools must be open to access these options. This method creates a table body - answereTBody() This method inserts a table row - answertRow() What are two ways to listen for events in js? - answer- addEventListener() - an onevent handler (onclick, onmouseup, etc.) What are the two phases of event propagation in modern browsers? - answer- bubbling (goes from target to outermost ancestor) - capturing (goes from outermost ancestor to target) How is a custom event created and dispatched? - answer1. CustomEvent() to create
Written for
- Institution
- Salesforce JavaScript Developer
- Course
- Salesforce JavaScript Developer
Document information
- Uploaded on
- May 23, 2024
- Number of pages
- 6
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
salesforce javascript developer 1 exam questions a
Also available in package deal