JSFiddle - React, Tailwind, and code Playground

by Pritesh Patel

JavaScript

const arr = ["123", "test", "45", "newTest"];

const arr2 = [`${arr[0]}${arr[1]}`];

console.log('arr2: ', arr2);

const test = "CS111"

console.log("test: ", test.toLowerCase())

const isNumber = 2000 < 2000

console.log('isNumber: ', isNumber);