1
0
dust/examples/scope.ds

10 lines
113 B
Plaintext

foo = "bar"
func = function <> { "foo" }
assert_equal("bar", (func))
foo = "xyz"
assert_equal("xyz", (func))