javascript crimes
The following causes a runtime error:
function factory(callback) {
callback();
return () => console.log(
"crime performed");
}
const func = factory(() => {
func();
});
// TypeError: func is not a function
But the following works:
function factory(callback) {
callback();
return () => console.log(
"crime performed");
}
const func = factory(() => {
setTimeout(() => func(), 0);
});
// "crime performed"
@aescling I highly recommend looking up what a Chinese dragon worm looks like
Accidentally getting a 20-minute history lesson on the early meta of TCG because I asked @aescling if Surfing Pikachu was a good card
@aescling Apparently, someone on the Psychonauts team said that phrase during a team dinner. The writer thought it was so funny that they made the level about a milkman
Good things about Psychonauts:
My major criticism:
Currently obsessed this clip:
https://youtube.com/clip/UgkxRo6GXzUczUamz6XE_1dPxfP5fYY3LYP-?si=rIz-JLdSQ3oFvjV7
@aescling BOO
Movie/animation/anime fan. Videogame enjoyer. Food liker. zss sux propagandist. Physics and mathematics hobbyist. Software Engineer. Professional post malone hater. I would not be surprised if I had autism + adhd. I like animals that wear cowboy hats.
he/him