JSFiddle - React, Tailwind, and code Playground

JavaScript

var f, y = 10; 
if (f = (x) => x*x, f(y)) alert('it is worked!')