I am newbie to ES6. Just wanted to know the typeof for the spread parameter. http://es6-features.org/#RestParameter I am not sure why i am not able to print the typeof for spread parameter could someone explain the reason.
Please find the snippet below:
function restify(...x){
console.log(typeof (...x));
}
restify([1,2,3,5,]);