I disagree with the line luckily for us, HTML5 includes a rotate method!
It's correct, but I think it would be more accurate to say that the Canvas API has a rotate method, or the canvas context class/object has a rotate method.
Feel free to disagree.