Day 19 of #25DaysJS Challenge by @ChaiCodeHQ @Hiteshdotcom Learned how the rest operator (...num1) lets functions accept unlimited arguments. calculateCartPrice(200,400,500); Also explored passing objects & arrays as parameters to make functions more dynamic & reusable!

codeXninjaDev's tweet image. Day 19 of  #25DaysJS Challenge by @ChaiCodeHQ  @Hiteshdotcom
Learned how the rest operator (...num1) lets functions accept unlimited arguments.
calculateCartPrice(200,400,500);
Also explored passing objects & arrays as parameters to make functions more dynamic & reusable!

United States Trends
Loading...

Something went wrong.


Something went wrong.