jquery - get object property

JavaScript
voted: 0
vote
object property dot

Property can be accessed with dot:

var c = {id: 2, text: "c#", color: "#336699"};
var cId = c.id;
working url: not entered
version: not entered
Leave a Comment:
Characters left:
No comments yet.