DEV Community

loading...

What's the output?

318097 profile image Mehul Lakhanpal Originally published at codedrops.tech ・1 min read

Write the output in the comments

if ([]) {
  console.log("TRUE");
} else {
  console.log("FALSE");
}
Enter fullscreen mode Exit fullscreen mode

Thanks for reading 💙

Follow @codedrops.tech for daily posts.

Instagram ● Twitter ● Facebook

Micro-Learning ● Web Development ● Javascript ● MERN stack ● Javascript

codedrops.tech

Discussion (4)

pic
Editor guide
Collapse
jamesrweb profile image
James Robb

Should be true

Collapse
318097 profile image
Mehul Lakhanpal Author

Correct 👍

Collapse
ai7ch profile image
Aitch

True. It is!

Collapse
318097 profile image
Mehul Lakhanpal Author

Correct 👍