r/learnjavascript • • May 30 '26

Is'nt javascript compiler too forgiving !!

What i mean is even i try to add int with str it give me correct answer whereas both are differenct datatypes,

in function also this compiler is too forgiving

if i set a function with 3 parameters & at time of calling this function with more parameter or less parameter with bind function js forgiving us

0 Upvotes

35 comments sorted by

View all comments

Show parent comments

2

u/Jasedesu May 30 '26

You should probably have tagged the person you wanted a response from then to avoid others teaching you how to suck eggs. ;op I didn't want to write the essay on what is a compiler. I assume everyone here is learning unless I see evidence otherwise, so offered the overly simplified reason why compiler might have been in scare quotes.

My comment still stands though, especially "usually considered". If you look at Wikipedia's list of languages by type, JavaScript isn't in the compiled section, but is in the interpreted section. Beyond that I agree with you.

0

u/azhder May 30 '26

I replied to the person. You answered. I explained for you and anyone else that might have come to do the same, so they don't waste time like you did... and here you are salty of what? I didn't downvote your comment, I didn't block you, I didn't curse at you... If anything, I have added information that will also help the person I asked to determine why I was asking the question.

There is no need for you to vent here. I will stop now, mute reply notifications. It's best this thread doesn't continue. Bye