Probably the version on web editor is somehow still v0.7.2, while the current p5 version is v0.7.3.
circle() or square() (For some reason i was not able to log in)open closed issue here. (check below link)
https://github.com/processing/p5.js/issues/3512
This can be updated by the user via the index.html

@hellonearthis good to know that :)
@hellonearthis I think that way is not beginner friendly, and we should be responsible for the version update stuff
Ditto, reproduced, a simple sketch that calls circle(10, 10, 10) fails with
"Uncaught ReferenceError: circle is not defined...".
thanks for reporting! i agree with @sanketsingh24, that changing the version in the index.html is not beginner friendly. it would be great if this version updated automatically (see #144, in which it took me forever to figure out a real solution, which has not yet been implemented). for now, i will update this manually 馃槃
also, i think this points to more support of #4鈥攊t would be great if you could see all of your "installed" js libraries easily for a sketch!
Most helpful comment
@hellonearthis I think that way is not beginner friendly, and we should be responsible for the version update stuff