ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 19 - Certified JavaScript Developer I discussion

Report
Export

Refer to the code below: const event = new CustomEvent(

//Missing Code

); obj.dispatchEvent(event); A developer needs to dispatch a custom event called update to send information about recordId.

Which two options could a developer insert at the placeholder in line 02 to achieve this?

Choose 2 answers

A.
'Update' , ( recordId : '123abc'(
Answers
A.
'Update' , ( recordId : '123abc'(
B.
'Update' , '123abc'
Answers
B.
'Update' , '123abc'
C.
{ type : 'update', recordId : '123abc' }
Answers
C.
{ type : 'update', recordId : '123abc' }
D.
'Update' , {Details : { recordId : '123abc'}}
Answers
D.
'Update' , {Details : { recordId : '123abc'}}
Suggested answer: A, D
asked 23/09/2024
law ryan
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first