mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
documentation for pattern matching
This commit is contained in:
parent
186797a745
commit
c3029faca7
8 changed files with 202 additions and 16 deletions
17
documentation/js/object_extraction.js
Normal file
17
documentation/js/object_extraction.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
(function(){
|
||||
var __a, __b, __c, city, futurists, poet, street;
|
||||
futurists = {
|
||||
sculptor: "Umberto Boccioni",
|
||||
painter: "Vladimir Burliuk",
|
||||
poet: {
|
||||
name: "F.T. Marinetti",
|
||||
address: ["Via Roma 42R", "Bellagio, Italy 22021"]
|
||||
}
|
||||
};
|
||||
__a = futurists;
|
||||
__b = __a.poet;
|
||||
poet = __b.name;
|
||||
__c = __b.address;
|
||||
street = __c[0];
|
||||
city = __c[1];
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue