News for hackers. Stuff that matters.
Re:JavaScript quiz that may confuse you by bryanrasmussen on Tuesday May 03, 2022 @06:17AM (#31246593)
I'm pretty sure I've seen something similar to let a = b = 0 in the last couple months, without strict mode and it evidently hadn't been linted away.

Maybe it wasn't 'new' code but it was new enough to use let.

on edit: actually considering the project I would think it was written somewhere within the last 2 years.

Re:JavaScript quiz that may confuse you by __ryan__ on Tuesday May 03, 2022 @07:06AM (#31246876)
You might be thinking of:

  let a = 0, b = 0
Re:JavaScript quiz that may confuse you by bryanrasmussen on Wednesday May 04, 2022 @02:11AM (#31257251)
I should apologize, my normal way of writing made it seem like I wasn't sure about having seen it but I was sure, I often use phrases that imply inexact information (for example: I guess) when what I mean oh yeah, I am sure about this thing.
Re:JavaScript quiz that may confuse you by bryanrasmussen on Tuesday May 03, 2022 @07:15AM (#31246931)
no It was definitely a = b = somethingelse structure, because I hate that structure.