JSFiddle - React, Tailwind, and code Playground

JavaScript

if (
  boolean1
  &&
  boolean2
)
{
  console.log(
    var1,
    var2
  )
}