JavaScript parser and sandbox
JavaScript PHP HTML CSS
Latest commit 742d9da Sep 14, 2016 @hackvertor Bumped up version number
Permalink
Failed to load latest commit information.
assets
images
javascript
jstests
php_experimental
scripts
.gitattributes
.gitignore
.project
LICENSE
MentalJS.html
README.md
demo.html

README.md

MentalJS

MentalJS is a JavaScript parser and sandbox. It whitelists JavaScript code by adding a "$" suffix to variables and accessors.

Usage

var js = MentalJS();
js.parse({
    code:'1+1',
    result:function(result){ 
      alert(result) 
    }
});