21

I can actually write my own, simple code, I'm not very flexible but I actually get JS now.

Comments
  • 3
    Damn wish I was Nifty

    Also what do you mean by mobile compiler
  • 0
    @Memeamphetamine I literally have a compiling app on my phone, so I can write code without needing to be at home.
  • 3
    @Nifty I was 99.99% sure Javascript is interpreted (which it is), that's what got me confused lol
  • 1
    Why not get on the ES6 train? Start early and bask in the magic!

    const userName = "Nifty"
    console.log(userName==="Nifty"?
    `Welcome ${userName}`:
    "You are not Nifty!")
  • 1
    @Nifty es6 is a JavaScript standard. He's just trying to feel smart by throwing code at you that looks complicated but does almost the same thing.
  • 0
  • 0
    The tertiary operator is not an ES6 feature! I think it's ES5. Nice example anyway.
  • 0
    @daemonAD More compact? Minimally. Cleaner? Quite the opposite.
  • 0
    @AlgoRythm Who's trying to make themselves "look smart"? This is just how I would normally write code. Whether this is "smart" or not, I'm not sure, because that's pretty ill-defined.
Add Comment