Skip to content

Commit a17d2db

Browse files
committed
Re-add MicroPython clarification.
1 parent 7b72b14 commit a17d2db

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/faq.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,10 @@ literals instead of `Map` objects.
12231223

12241224
As a result, **the PyScript `pyscript.ffi.to_js` ALWAYS returns a JavaScript
12251225
object literal by default when converting a Python dictionary** no matter if
1226-
you're using Pyodide or MicroPython as your interpreter.
1226+
you're using Pyodide or MicroPython as your interpreter. Furthermore, when
1227+
using MicroPython, because things are closer to idiomatic JavaScript behaviour,
1228+
you may not even need to use `to_js` unless you want to ensure
1229+
cross-interpreter compatibility.
12271230

12281231
#### Caveat
12291232

0 commit comments

Comments
 (0)