5
LLAMS
6y

Not a fight per se, but I once had a debate with a tech lead who thought you could set a variable in the ‘then’ clause of a Javascript promise and just use said variable after the promise declaration and assume it would be populated.
“no.... thats not how asynchronous code works.”

Comments
  • 0
    "All variables are global"
    -What? This isn't fucking Netscape, fuckturd"
Add Comment