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.
No Answer is Posted For this Question
Be the First to Post Answer
Why are callbacks used?
Why global variables are bad javascript?
Explain with an example the use of event handlers in javascript.
Methods get and post in html forms - what's the difference?
What is lazy loading java?
Explain the different types of pop-up boxes you can create in JavaScript.
How compare function works javascript?
What is a closure and how do you use it?
Is javascript enabled on chrome?
What’s a way to append a value to an array?
What are the data types in js?
What is spread syntax?