🛑 This JavaScript Function Looks Normal… But the Output Isn’t Most people think parameters and arguments are the same. This question proves they are not 👀 function demo(a, b) { arguments[0] = 100; console.log(a); } demo(10, 20); No async. No defaults. No tricks. Still… answers vary a LOT 😄 🤔 Why this question is interesting Tests arguments vs parameters Shows old JS behavior many forget Common interview discussion point Looks beginner-friendly Seniors often explain it wrongly 💬 Your Turn Comment your answer 👇 Output → Why? → ⚠️ Please don’t run the code. Answer based on understanding. I will post the correct output + very clear explanation in the evening. 📌 This post is to understand JavaScript behavior, not recommended modern patterns. #JavaScript #LearnJS #FrontendDevelopment #CodingInterview #TechWithVeera #WebDevelopment
100 bro because of not using strict mode
100
Answer:100
Ans: 100
Interesting facts