I am so confused with JavaScript object (as a C++ developer). How can this
var myObj = {key1: "Hello", key2: "World"};
be an instance of a class or is it just the name of a data structure ? Why do they even call it an object?
Assuming it is a class itself why use a colon instead of an equal sign (assuming the contents are variables)?