Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Oojs Tutorial
→
Oojs Interview Questions in Oojs Tutorial
→
What Are Two Ways In Which The Variable “foo” Can...
1.
What Are Two Ways In Which The Variable “foo” Can Be Assigned To An Empty Object?
Answer»
VAR
FOO
=
NEW
OBJECT
();
var foo = {};
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
When Using The Addeventlistener() Method To Create A Click-handler For A Dom Element, What Is The Value Of “this” Inside Of The Callback You Specify?
What Are Two Ways In Which The Variable “foo” Can Be Assigned To An Empty Object?
What Is Important To Remember About The Last Property’s Value In A Javascript Object Literal?
What Is The Difference Between Using Dot Notation And Bracket Notation When Accessing An Object’s Property?
Which Object.property Combination Provides A Reference To The Protocol Used To View The Current Web Page?
What Is The Name Of The Object That Refers To The Application Used To View A Web Page?
An Object Literal Can Be Used To Create Private Variables?
What Is The Difference Between A Constructor Function And A Non-constructor Function With Respect To The Word “this” ?
In Javascript, Are Objects Passed By Reference Or By Value?
Can A Javascript Constructor Return A Primitive Value (e.g. A Number Or A String)?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies