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
What does window.print() do in Javascript?
Why is it called javascript?
Write JavaScript code to use file system in binary format?
What is createtextnode?
how to post the form without submit button with help of javascript
discuss scoping in javascript?
Explain unescape() and escape() in javascript?
How to empty an array in JavaScript?
How can javascript be used to improve the "look and feel" of a web site? By the same token, how can javascript be used to improve the user interface?
What is class example?
What is the scope variable in javascript?
Explain window.onload and ondocumentready?