Icon

HTML5- evalJS - Execute any js

HappyTearParakoopa

You must be logged in to obtain assets

Description

evalJS allows you to run ANY javascript code in a "sandboxed" enviroment.

Usage:
evalJS(javascript commands)

Returns:
The returned value of your javascript command - formated as a string (always!)
Logs an error to the web console when any error in the code occurs.

Example:

show_message(evalJS("  
    var test = function() {  
       return text = 2+2;  
    }  
    return test();  
"));  
//Returns "4"

Also check out my other assets!

End User Licence Agreement (EULA).

Required Modules

HTML5 Export

Age Rating: 4+

Version

GMS1 - Version 1.0.0. Published August 5, 2014

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait