JSFiddle - React, Tailwind, and code Playground
by Joe Saad
JavaScript
const arr = [1,3,5,6,1];
if (arr[1]){
console.log('hello')
}
else {
console.log('no hello')
}
by Joe Saad
const arr = [1,3,5,6,1];
if (arr[1]){
console.log('hello')
}
else {
console.log('no hello')
}