An open API service indexing awesome lists of open source software.

https://github.com/diasbruno/js-trace

Dump the stack of a function.
https://github.com/diasbruno/js-trace

debugging-tool javascript

Last synced: about 2 months ago
JSON representation

Dump the stack of a function.

Awesome Lists containing this project

README

        

# js-trace

```js
import trace from './jstrace';

function add(x, y) {
return x + y;
}

trace(add)(1, 2);
```

Output:
```
Calling function: add
Input(s):
0: 1
1: 2
Output:
3
```