JSFiddle - React, Tailwind, and code Playground
JavaScript
var myFunc = function (a, b) {
//I want to take all the args passed in!
console.log(arguments); // I'll log an Array Object with 4 elements!
}
//let's call it
myFunc('hi', 'this', 'is', 'weird');