shellex v1.0.2
astox
lightweight scripting engine
accepted differences between astox and javascript:
//to assign value of instanceof: var answ = (a instanceof string); print(answ); // will output "true". In javascript will return "false";
//instanceof arguments are not case-sensitive: var answ = (a instanceof String); print(answ); // will output "true". In javascript will return "false";
var answ = (a instanceof StRinG); print(answ); // will still output "true".
<table>
<tr>
<td>astox</td>
<td>ecma</td>
</tr>
<tr>
<td>
regex supported only as method argument:
</td>
<td>
inline regex object declaration:
</td>
</tr>
</table>
```javascript
var a = RegEx(/search/);
print(a);
// will output "search" instead of "/search/"
a = /search/; // will produce errors
Date object: for values after 1970 unix timestamp will be returned (same as js) for values from 0 to 1970 js values will be returned for values before 0 some differences were found in unit-testing
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago