MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/j99oon/wired_way_to_learn_javascript_d/g8ktbbl/?context=3
r/learnjavascript • u/ikrum • Oct 11 '20
30 comments sorted by
View all comments
Show parent comments
48
But why two a's after it? I'm not too savvy with JS but according to my bad logic there's one a too much.
8 u/VikaashHarichandran Oct 12 '20 I just tried this out, the picture is indeed correct.That's because the string token after two consecutive symbol tokens will be considered as NaN by the lexer.Correct me if I'm wrong. 3 u/densch92 Oct 12 '20 careerspressadvertiseblogTermsContent policyPrivacy policyMod policyReddit Inc © 2020. All rights reservedAmkes sense then.also why the fuck do I see the above text shit when i simply try to reply to VikaashHarichandran, isntead of the actual commen ttext? O_o 1 u/VikaashHarichandran Oct 12 '20 Weird.
8
I just tried this out, the picture is indeed correct.
That's because the string token after two consecutive symbol tokens will be considered as NaN by the lexer.
Correct me if I'm wrong.
3 u/densch92 Oct 12 '20 careerspressadvertiseblogTermsContent policyPrivacy policyMod policyReddit Inc © 2020. All rights reservedAmkes sense then.also why the fuck do I see the above text shit when i simply try to reply to VikaashHarichandran, isntead of the actual commen ttext? O_o 1 u/VikaashHarichandran Oct 12 '20 Weird.
3
careerspressadvertiseblogTermsContent policyPrivacy policyMod policyReddit Inc © 2020. All rights reserved
Amkes sense then.
also why the fuck do I see the above text shit when i simply try to reply to VikaashHarichandran, isntead of the actual commen ttext? O_o
1 u/VikaashHarichandran Oct 12 '20 Weird.
1
Weird.
48
u/annathergirl Oct 11 '20
But why two a's after it? I'm not too savvy with JS but according to my bad logic there's one a too much.