What does the following code mean in JavaScript?
var x = {func(){}};
and why? When I view x it prints:
Object { func: func() }
What does the following code mean in JavaScript?
var x = {func(){}};
and why? When I view x it prints:
Object { func: func() }