jashkenas--coffeescript/documentation/coffee/patterns_and_splats.coffee

8 lines
69 B
CoffeeScript

tag = "<impossible>"
[open, contents..., close] = tag.split("")