Difference between revisions of "JS.eval"

From GiderosMobile
m
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
<languages/>
 
'''<translate>Available since</translate>:''' in development<br/>
 
'''<translate>Available since</translate>:''' in development<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/JS|JS]]<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/JS|JS]]<br/>
 +
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
<translate>execute arbitrary Javascript code on HTML5 platform</translate>
+
<translate>Executes arbitrary Javascript code on HTML5 platform.</translate>
 
<source lang="lua">
 
<source lang="lua">
JS.eval(code)
+
JS.eval(code)
 
</source>
 
</source>
 +
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
'''code''': (string) <translate>JavaScript code to execute</translate> <br/>
+
'''code''': (string) <translate>JavaScript code to execute</translate><br/>
  
 
{{JS}}
 
{{JS}}

Revision as of 06:08, 5 January 2020


Available since: in development
Class: JS

Description

Executes arbitrary Javascript code on HTML5 platform.

JS.eval(code)

Parameters

code: (string) JavaScript code to execute