What is a Promise in JavaScript?
A Promise represents a value that may be available now, later, or never.
States of a Promise:
1. Pending: Initial state, not fulfilled or rejected.
2. Fulfilled: Operation completed successfully.
3. Rejected: Operation failed.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is difference between deep and shallow object coping in javascript?
Create a new javascript object with the keys of “fname” equal to your first name, “lname” equal to your last name, and “fcolors” equal to and array of 3 of your favorite colors. Assign this object to a variable called “me” and log it to the console.
How many types of data types are there?
In javascript what is an argument object?
How to write a function in javascript?
Explain the for-in loop?
Is javascript event driven?
why jsp
How do I turn on javascript on my phone?
What are the javascript objects?
Where can I learn javascript for beginners?
Explain “use strict” ?