JSFiddle - React, Tailwind, and code Playground

JavaScript

eval("true && {a:1} && {b:2} && alert('this is ok');");

eval("{a:1} && {b:2} && alert('this should be ok~~');");