Which two options could a developer insert at the placeholder in line 02 to achieve this?
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’(
B . ‘Update’, ‘123abc’
C . {type: ‘update’, recordId: ‘123abc’}
D . ‘Update’, {Details: {recordId: ‘123abc’}}
Answer: A,D
Latest JavaScript Developer I Dumps Valid Version with 144 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments