JSFiddle - React, Tailwind, and code Playground JavaScript function x(a, b) { alert(a); alert(b); } var c = [1,2]; x(c);