All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.javascript.PrimitiveWrappers.html Maven / Gradle / Ivy

There's no reason to use wrapper objects for primitive types, plus they're dangerous :

var x = new Boolean(false);
if (x) {
  alert('hi');  // Shows 'hi'.
}

Just use simple literals instead.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy