UNPKG

jade

Version:

Jade template engine

50 lines (39 loc) 622 B
body nums = 1 2 3 foo 1 in nums foo 3 in nums foo 5 in nums body nums = 1 foo 1 in nums == true body words = foo bar baz foo bar in words foo baz in words foo HEY in words body tuples = (error 'one') (error 'two') foo error in tuples foo (error 'one') in tuples foo (error 'two') in tuples foo (error 'something') in tuples fn(args...) 2 in args body foo fn() foo fn(1) foo fn(2) foo fn(3 2) foo fn(1,2,3) fn(args...) (3 2) in args body foo fn(3 2) foo fn(3,2) fn() test in arguments body foo fn(test) foo fn(a, b, c) foo fn(a, test, c) foo fn(a test c)