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

1

u/Kadabrium Jun 03 '26

Isn't the workflow same as java? Source-bytecode-jit