I am doing the following in javascript:
var first_last = { FName: 'John', LName: 'Smith'};
When I do the above with the {}, does that make var first_last an object?
Wouldn’t alert(JSON.stringify(first_last)) show me the content of the object?
Indeed. It’s an object and you can check if if is calling
typeof first_last;. Should return"object"