[JAVASCRIPT] Expresiones que son FALSE


/ Published in: JavaScript
Save to your folder(s)

In JavaScript, there are 6 "falsy" values (values that evaluate to false):

false, null, undefined, 0, "" (the empty string), and NaN

Anything else evaluates to true.


Copy this code and paste it in your HTML
  1. //ver descripción

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.