Suppose I have the following function signature:
function test(varible1, varible2) {}
When I call it I pass only one parameter:
test(5);
So within test function the variable2 still be created but will have value of undefined. I'm wondering if js engine still allocates 32 bit in the memory for that variable?
undefined- so my guess is no, they don't.