The following code:
console.log(new function(){return this})
is giving the following output:

Ref to the img, Please explain the output (why does such infinite repeating depth exists?).
note: I’m a newbie in javascript and was trying various code and found this behavior.
In JavaScript function is object and has all properties which belong to objects. So all of them you see in your console line.
Short description:
name :''– anonymous function in your case name of function is emptycaller:nullfunction that call your functionarguments: nullall arguments which were passed into functionYou need take a look at Inheritance of JS
http://phrogz.net/JS/classes/OOPinJS2.html