JSFiddle - React, Tailwind, and code Playground

by bhupendra negi

JavaScript

const myfun = function (data) {
 const [a,b] = data;
 return a+b;
}

myfun();