cdnjs / new-website

🖥 cdnjs.com website
https://cdnjs.com
ISC License
451 stars 212 forks source link

[Tests] Explicit length comparison #307

Closed MattIPv4 closed 4 years ago

MattIPv4 commented 4 years ago

Enforce explicit length comparison so that x.length > 0 is required, not just x.length. Resolves comment in https://github.com/cdnjs/new-website/pull/306#discussion_r347143596