The toUpperCase() method of {{jsxref("String")}} values returns this string converted to uppercase. The toUpperCase() method returns the value of the string converted to uppercase. This method does ...
In the Data Types chapter, in the first section "Methods of primitives", it is written: "For instance, there exists a method str.toUpperCase() that returns a capitalized string." I would think the ...