Translate code to

Javascript

Source Code

Translated Code

Docskrive can make mistakes. Review the code before using it.