mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
14 lines
No EOL
166 B
CoffeeScript
14 lines
No EOL
166 B
CoffeeScript
ok 'x'.match(/x/g)
|
|
ok 'x'.match /x/g
|
|
ok 'x'.match(/x/)
|
|
ok 'x'.match /x/
|
|
|
|
ok 4 / 2 / 1 is 2
|
|
|
|
y: 4
|
|
x: 2
|
|
g: 1
|
|
|
|
ok y / x/g is 2
|
|
|
|
ok 'http://google.com'.match(/:\/\/goog/) |