Today I learned how to use JavaScript functions in PyScript.
At codegolf.stackexchange.com, smaller is better.