How you will add function as a property in a javascript object? Give an example.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JavaScript Interview Questions

Why javascript is called lightweight language?

0 Answers  


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.

0 Answers  


What are the Advantages and Disadvantages of JavaScript?

0 Answers  


What is javascript in simple terms?

0 Answers  


What are the different objects used in javascripts?

0 Answers  






How do I turn off javascript in chrome?

0 Answers  


How can we send mail using Javascript?

1 Answers  


What is variable typing?

0 Answers  


Can you put javascript in html?

0 Answers  


Is it possible to do 301 redirects in javascript ?

0 Answers  


What is the difference between undefined value and null value?

0 Answers  


How can you convert the string of any base to integer in JavaScript?

0 Answers  


Categories