JSFiddle - React, Tailwind, and code Playground by Lloyd Atkinson March 08, 2019 JavaScript if (value) { func(1); } else { func(2); }