Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
toString() method returns a boolean value as a string. Note: This method is called by JavaScript automatically whenever a boolean is used in a string operation.
var bool = true;
var x = bool.toString();
toString() is a function used to convert any value/object into string.
method toString() converts an array to a string of (comma separated) array values