Is there anything that python could do and javascript could not do?

Hello, I want to use script in tiled, but I found 2 language of script: python and javascript.

I only want to use javascript(typescript), so is there anything that python could do and javascript could not do?

Python Scripts — Tiled 1.10.1 documentation (mapeditor.org)

Scripting — Tiled 1.10.1 documentation (mapeditor.org)

No, there is nothing available through the Python API that isn’t also available through the JavaScript API.

That’s a good information for me, and thank you for answering