(t *testing.T)
| 4248 | } |
| 4249 | |
| 4250 | func TestFuncParamRestStackSimple(t *testing.T) { |
| 4251 | const SCRIPT = ` |
| 4252 | function f(arg1, ...rest) { |
| 4253 | return rest; |
| 4254 | } |
| 4255 | let ar = f(1, 2, 3); |
| 4256 | ar.join(","); |
| 4257 | ` |
| 4258 | testScript(SCRIPT, asciiString("2,3"), t) |
| 4259 | } |
| 4260 | |
| 4261 | func TestFuncParamRestStashSimple(t *testing.T) { |
| 4262 | const SCRIPT = ` |
nothing calls this directly
no test coverage detected
searching dependent graphs…