0

Does someone know how this is possible.

function test(a){
   console.log(a);
}
test("param1","param2");

I have no problem with, but I'm curius.

thebarbe
  • 9
  • 3
  • 1
    That's because JavaScript doesn't care if you pass more arguments... – Cerbrus Aug 01 '18 at 12:02
  • Please point out what exactly "is possible". We can guess, but maybe you're wondering about something entirely different. – deceze Aug 01 '18 at 12:03

0 Answers0