←back to thread

517 points bkolobara | 1 comments | | HN request time: 0s | source
Show context
jmull ◴[] No.45043565[source]
The javascript browser bug has nothing to do with the language.

It’s just a logic bug.

E.g., the code doesn’t match their own English description of the logic: “If yes, redirect to the specific page. If not, go to the dashboard or onboarding page.”

The code is missing the “if not” (probably best expressed using an “else” clause following the if block).

replies(1): >>45044090 #
notfed ◴[] No.45044090[source]
I wouldn't say nothing. I mean, we're essentially talking about a global variable that's specified into the language.
replies(2): >>45044530 #>>45045058 #