Open milanchheda opened 1 year ago
@phptinker
$collection = collect([1, 2, 3, 4, 5, 6, 7]);
$chunks = $collection->chunk(4);
$chunks->all();
@robobun
const error = new Error('Oops!!!!!');
Error.captureStackTrack(error);
console.log(error.stack);
@milanchheda here you go!
1 | const error = new Error('Oops!!!!!');
2 | Error.captureStackTrack(error);
^
TypeError: Error.captureStackTrack is not a function. (In 'Error.captureStackTrack(error)', 'Error.captureStackTrack' is undefined)
Ran using the latest build of Bun, an all-in-one JavaScript runtime.
@phptinker
$collection = collect([1, 2, 3, 4, 5, 6, 7]);
$chunks = $collection->chunk(4);
$chunks->all();
@phptinker