I am confused because of the (*) line. because how come join() as function called without parenthesis
function hash() {
let empty = [].join; // (*)
alert(empty.call(arguments)); // 1,2
}
hash(1, 2);
I am confused because of the (*) line. because how come join() as function called without parenthesis
function hash() {
let empty = [].join; // (*)
alert(empty.call(arguments)); // 1,2
}
hash(1, 2);