I want to translate simple Python code to Javascript written in Javascript. I see 2 options: 1) Simple replace the commands 2) Write a hole compiler Which should I use and why?
Learn more efficiently, for free:
Introduction to Python
7.1M learners
Introduction to Java
4.7M learners
Introduction to C
1.5M learners
Introduction to HTML
7.5M learners