console.table()
does not display values for numeric keys
#14415
Labels
assertion failed
Crashes in a build with assertions enabled
bug
Something isn't working
console
Related to console apis
What version of Bun is running?
1.1.30+7996d06b8
What platform is your computer?
Darwin 23.6.0 x86_64 i386
What steps can reproduce the bug?
having the object with numeric keys:
What is the expected behavior?
should work with numeric keys like it does in Node.js
┌─────────┬─────┬─────┐ │ (index) │ 10 │ 100 │ ├─────────┼─────┼─────┤ │ test │ 123 │ 154 │ └─────────┴─────┴─────┘
What do you see instead?
v1.1.30 displays no values:
┌──────┬─────┬─────┐ │ │ 10 │ 100 │ ├──────┼─────┼─────┤ │ test │ │ │ └──────┴─────┴─────┘
Additional information
┌──────┬─────┬──────┐ │ │ 10 │ 100 │ ├──────┼─────┼──────┤ │ test │ 123 │ 154 │ └──────┴─────┴──────┘
The text was updated successfully, but these errors were encountered: