The easiest way to convert anything is by making + operation with “”
function convertToString(anything) {
return "" + anything
}
console.log(convertToString(12));
console.log(convertToString(true));
console.log(convertToString('hello'));
console.log(convertToString(null));
console.log(convertToString(undefined));
solved I need to sort it out this quiz [closed]