Khai báo

sửa
var myStructure = {
    name: [
        first: "Mel",
        last: "Smith"
    ],
    age: 33,
    hobbies: [ "chess", "jogging" ]
};

Thí dụ

sửa
var myStructure = {
    name: [
        first: "Mel",
        last: "Smith"
    ],
    age: 33,
    hobbies: [ "chess", "jogging" ]
};