I can't find my reference, can somebody tell me if this is correct syntax to define my own objects:
ThxCode:function object(name, id, val) { this.name = name; this.id = id; this.val = val; return this; } var myob = new object('ob1, 1, 43');
|
Results 1 to 5 of 5
Thread: javascript objectsThreaded View
|
Click Here to Expand Forum to Full Width |