Compound data type: Difference between revisions

Object and JSON
(pack, unpack)
(Object and JSON)
Line 109:
[[Category:JavaScript]]
 
var point = new Object();
point.x = 1;
point.y = 2;
 
==[[JSON|JSON TODO]]==
[[Category:JSON]]
 
var point = {
x:1,
y:2
};
 
==[[Perl|Perl TODO]]==
Anonymous user