Logo F2FInterview

JavaScript Interview Questions

Q   |   QA

for, while, do-while loops, but no foreach.

var obj = new Object(); or var obj = {};

obj["age"] = 17 or obj.age = 17.

arr[arr.length] = value;

It refers to the current object.

In order to link this F2FInterview's page as Reference on your website or Blog, click on below text area and pres (CTRL-C) to copy the code in clipboard or right click then copy the following lines after that paste into your website or Blog.

Get Reference Link To This Page: (copy below code by (CTRL-C) and paste into your website or Blog)
HTML Rendering of above code: