Object

var x = {
  a: 5,
  b: 10,
  test: function() {
    return "test";
  }
}

console.log(x.a);
console.log(x.test());