Checklist
What happened?
I get this error when copying the js.createObject example code from the pyscript.net documentation into pyscript.com

What browsers are you seeing the problem on? (if applicable)
No response
Console info
logger.ts:39 [pyexec] Python exception:
Traceback (most recent call last):
File "/lib/python3.10/_pyodide/_base.py", line 460, in eval_code
.run(globals, locals)
File "/lib/python3.10/_pyodide/_base.py", line 306, in run
coroutine = eval(self.code, globals, locals)
File "<exec>", line 10, in <module>
AttributeError: createObject
Additional Context
No response