diff options
author | 2023-09-27 04:47:37 +0200 | |
---|---|---|
committer | 2023-09-26 19:47:37 -0700 | |
commit | d7b43f8ea17694641a355d5659c00563e60d0acf (patch) | |
tree | 5a4115c423ebd6c404fc4e1407914d7ff64acf76 /test/snippets/bundled-entry-point.js | |
parent | 648d5aecf3980997c0672746374068033e632e1d (diff) | |
download | bun-d7b43f8ea17694641a355d5659c00563e60d0acf.tar.gz bun-d7b43f8ea17694641a355d5659c00563e60d0acf.tar.zst bun-d7b43f8ea17694641a355d5659c00563e60d0acf.zip |
fix: support console.dir options object correctly (#6059)
* fix: support console,dir options object correctly
`console.dir` can be passed a second argument which is a object of options.
This implements that logic with the currently supported properties: `depth`
and `colors`.
I used node as a reference for implementation details.
Fixes: https://github.com/oven-sh/bun/issues/6039
* style: format zig file
* fix: implement changes from review
Implements changes requested from review, like adding
more test cases and refactoring code style.
Diffstat (limited to 'test/snippets/bundled-entry-point.js')
0 files changed, 0 insertions, 0 deletions