r/node • • Apr 14 '24

JavaScript Functions - 4 Ways

Post image
208 Upvotes

79 comments sorted by

View all comments

Show parent comments

5

u/damnNamesAreTaken Apr 14 '24

What are you telling me I'm incorrect about? The arrow function wasn't a thing until around ten years ago. I almost never use JavaScript so I never kept up on what the true differences were other than syntax. I learned JS in the mid 2000s.

-15

u/azhder Apr 14 '24 edited Apr 14 '24

I didn’t say you are incorrect, I said I doubt you have learnt it in the 90s. The function expression existed at least in the ES3 standard, released by the end of 1999.

10

u/realboabab Apr 14 '24

you are doing a really poor job of communicating here..

-12

u/azhder Apr 14 '24

Good for you that you noticed and voiced the concern. There’s still hope for the internet.

Do not read it in a sarcastic manner.

2

u/wherewereat Apr 14 '24

You placed the comma after the parenthesis, suggesting that the sentence betweeen the parenthesis is referring to the first statement.. Then a comment later you explained that the parenthesis sentence is referring to the sentence after it, but that doesn't make sense when there's a comma right after it. so in other words, you're doing a poor job of communication

-3

u/azhder Apr 15 '24 edited Apr 15 '24

So far you haven’t told me anything I don’t know…

Well, you did tell me one thing: you thought you should respond to me.

So, I might as well ask you: why?

Oh, and you told me you think I made a mistake… I didn’t, but requires closer inspection and deconstruction than what you did.

The comma wasn’t misplaced, but you may have read those verbs a bit differently

2

u/wherewereat Apr 15 '24

I thought you were thanking the other guy sarcastically, I just read the second part rn, guess I'm in the wrong here ,_,

-1

u/azhder Apr 15 '24

You know, the way I write responses, it often has a secondary use. But that’s a topic for another time.

→ More replies (0)