Skip to content

james10424/can-run-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Check whether you can run javascript with this script.

const canRunJavascript = require("./can-run-javascript");
if (canRunJavascript()) {
    // your computer can run javascript
    console.log("It works!");
}
else {
    // your computer cannot run javascript
    // or your javascript installation is corrupted
    console.log("Your computer does not seem to support javascript." +
                "Please install/reinstall javascript");
}

About

Check whether you can run javascript with this script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published