[ad_1]
What specifically is happening here? I am calling the object james and am I passing it a value?
Only functions can be called; the syntax james[aProperty] is property access using the bracket notation. It’s like dot notation, but accepts an expression to use as the name of the property instead of an identifier*.
* Identifier or keyword.
[ad_2]
solved Following the logic behind this particular piece of basic JavaScript code