-
-
Save draxaris1010/e7cefd2bd6040bcb9cf665195171e466 to your computer and use it in GitHub Desktop.
Pop-up window in Js & HTML to use Js console in phone
This file contains hidden or 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
| function pop(){ | |
| var input = window.prompt("enter a command",""); | |
| var output = eval(input); | |
| eval(input); | |
| console.log(output); | |
| alert(output); | |
| }; | |
| window.onload = pop(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment