JSFiddle - React, Tailwind, and code Playground

by Hugo Carneiro

JavaScript

function countArguments(...args) {
   console.log(args.length);
}
// get the number of arguments
countArguments('welcome', 'to', 'Earth');