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.
- Host: GitHub
- URL: https://github.com/diasbruno/js-trace
- Owner: diasbruno
- Created: 2016-12-27T19:58:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-27T14:38:02.000Z (about 8 years ago)
- Last Synced: 2025-04-01T19:59:21.368Z (about 2 months ago)
- Topics: debugging-tool, javascript
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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
```