diff --git a/test/test_functions.coffee b/test/test_functions.coffee index 0d9675d9..1bb26f21 100644 --- a/test/test_functions.coffee +++ b/test/test_functions.coffee @@ -345,3 +345,13 @@ eq ok, new -> ok ### Should `return` implicitly ### ### even with trailing comments. ### + +#855: execution context for `func arr...` should be `null` +(-> + global = @ + contextTest = -> ok global is @ + array = [] + contextTest array + contextTest.apply null, array + contextTest array... +)()