3 ms·
You very much can return `undefined`, it's just that `return` only works inside of a function, not if you just copy the block of code into the console :)
by Twixes 5y ago
You very much can return `undefined`, it's just that `return` only works inside of a function, not if you just copy the block of code into the console :)