Skip to content

Instantly share code, notes, and snippets.

@Allwin12
Created July 4, 2020 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Allwin12/f4fccbf326eef054db15df0da5d8dd91 to your computer and use it in GitHub Desktop.
Save Allwin12/f4fccbf326eef054db15df0da5d8dd91 to your computer and use it in GitHub Desktop.
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