commit
f1a90ac51a
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ work = spy(work);
|
||||||
work(1, 2); // 3
|
work(1, 2); // 3
|
||||||
work(4, 5); // 9
|
work(4, 5); // 9
|
||||||
|
|
||||||
for(let args of work.calls) {
|
for (let args of work.calls) {
|
||||||
alert( 'call:' + args.join() ); // "call:1,2", "call:4,5"
|
alert( 'call:' + args.join() ); // "call:1,2", "call:4,5"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue