RosettaCodeData/Task/Empty-string/JavaScript/empty-string-3.js

5 lines
46 B
JavaScript

s != ""
s.length != 0
s.length > 0
Boolean(s)