how use the JS undefined
with Brython
#2496
-
Hi, I would like to convert a JS script into Brython (3.11.2) This JS script is using a var type How can I use int in my brython code ? I've tried JSDate = window.Date.new()
#1
JSDate.toLocaleTimeString(undefined)
#2
JSDate.toLocaleTimeString(window.undefined)
#3
JSDate.toLocaleTimeString(None) but nothing works. I've review https://brython.info/static_doc/3.11/en/jsobjects.html & https://brython.info/static_doc/3.11/en/javascript.html But I don't figure it out... Any ideas ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Just use |
Beta Was this translation helpful? Give feedback.
Thank @denis-migdal ,
with your clues, I've managed to make it works :)