Nature of issue?
Most appropriate sub-area of p5.js?
Details about the bug:
The documentation states that the createCanvas() function should return an HTMLCanvasElement corresponding to the created canvas, but this is clearly not the case since a p5.Renderer is returned istead.
The thing happens in this line of code of the p5 source.
However, I'm not really sure about which one is wrong between the documentation and the implementation.