Difference between revisions of "Sandbox"
From Organic Design wiki
(test ref as key) |
|||
| Line 2: | Line 2: | ||
$(document).ready( function() { | $(document).ready( function() { | ||
| − | + | ||
| − | + | $a={}; | |
| + | $b={}; | ||
| + | |||
| + | $a.foo='baz'; | ||
| + | $b.foo='buz'; | ||
| + | |||
| + | $a[$b]='zzz'; | ||
| + | |||
| + | alert($a[$b]); | ||
| + | |||
| + | |||
| + | |||
}); | }); | ||
</script></html> | </script></html> | ||
Revision as of 19:33, 29 August 2012



