Created
July 4, 2020 15:37
-
-
Save Allwin12/f4fccbf326eef054db15df0da5d8dd91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import js2xml | |
jscode = """function factorial(n) { | |
if (n === 0) { | |
return 1; | |
} | |
return n * factorial(n - 1); | |
}""" | |
parsed = js2xml.parse(jscode) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment