Search posts, tags, users, and pages
Joy Opeyemi Oluwafemi
Web Developer | Technical Writer
Introduction JavaScript is a programming language that helps to add functionalities to web pages to make them interactive and user-friendly. It does this by giving browsers a series of detailed instructions that it needs to carry out specific tasks. ...
Adebisi Oluwafemi
Php, Javascript, React,
Nice U could make d function dynamic by taking array as an input and looping through it to add values. That way u take in only 1 argument nd can take tons of values as an array
You are right Adebisi, rest parameters which is also one of the features of ES6 parameters handles that.
Adebisi Oluwafemi
Php, Javascript, React,
Nice U could make d function dynamic by taking array as an input and looping through it to add values. That way u take in only 1 argument nd can take tons of values as an array