milanchheda / FIFA-Predictor

FIFA World Cup 2018
1 stars 0 forks source link

TEST #1

Open milanchheda opened 1 year ago

milanchheda commented 1 year ago

@phptinker

$collection = collect([1, 2, 3, 4, 5, 6, 7]);

$chunks = $collection->chunk(4);

$chunks->all();
milanchheda commented 1 year ago

@phptinker

$collection = collect([1, 2, 3, 4, 5, 6, 7]);

$chunks = $collection->chunk(4);

$chunks->all();
milanchheda commented 1 year ago

@robobun

const error = new Error('Oops!!!!!');
Error.captureStackTrack(error);
console.log(error.stack);
robobun commented 1 year ago

@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)
Code ```tsx const error = new Error('Oops!!!!!'); Error.captureStackTrack(error); console.log(error.stack); ```

Ran using the latest build of Bun, an all-in-one JavaScript runtime.

milanchheda commented 1 year ago

@phptinker

$collection = collect([1, 2, 3, 4, 5, 6, 7]);

$chunks = $collection->chunk(4);

$chunks->all();