Coding | This is mind boggling coding
![](/images/pictuers/this_is_mind_boggling_coding.jpg)
Why does the Block 1 returns NaN but Block 2 works just fine ?? 📷:/ If the spread operator spreads the array and return a new then then second block should return NaN too shouldn't it ?
Why does the Block 1 returns NaN but Block 2 works just fine ?? 📷:/ If the spread operator spreads the array and return a new then then second block should return NaN too shouldn't it ?