1
0
dust/examples/scope.ds

10 lines
113 B
Plaintext
Raw Normal View History

foo = "bar"
func = function <> { "foo" }
2023-10-06 12:17:37 +00:00
assert_equal("bar", (func))
2023-10-06 12:17:37 +00:00
foo = "xyz"
2023-10-06 12:17:37 +00:00
assert_equal("xyz", (func))
2023-10-06 12:17:37 +00:00