0

how does javascript interpret below logic internally, const usr = (...num1) =>{return 10+[1,2,3,4,];}

console.log(usr(10,20))

below is the output im getting output:101,2,3,4

shouldn't it just thow an error

Deepak
  • 1
  • 1

0 Answers0