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 method name should just be ".toUpperCase()" without "str" (or else "String.prototype.toUpperCase()"). Or there's something I don't understand.