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

4 lines
65 B
CoffeeScript

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