aboutsummaryrefslogtreecommitdiff
path: root/test/js/web/console/console-log.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-09-26fix: support console.dir options object correctly (#6059)Gravatar Liz 1-0/+4
* 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.
2023-09-20fix(console.log): change default depth from 8 to 2 (#5839)Gravatar Jibran Kalia 1-0/+14
This make it as the same default depth in Node. Source: https://github.com/nodejs/node/blob/480ab8c3a40451d5ea459dd35b4039679b26e195/doc/api/console.md?plain=1#L285
2023-07-11Fix: console.log with class constructors (#3602)Gravatar dave caruso 1-0/+6
* Fix console.log with class constructors * oops * fix it * lol * fix test
2023-03-07Reorganize tests (#2332)Gravatar Ashcon Partovi 1-0/+54