Rand Stats

JavaScript::SpiderMonkey

github:hartenfels

Build Status

NAME

JavaScript::SpiderMonkey - glue for Mozilla's JavaScript interpreter

SYNOPSIS

This is still really hard in development you don't even know, so this interface is still in flux.

use JavaScript::SpiderMonkey;

my $thing = js-eval('({
    add : function(a, b) { return a + b; },
})')

say $thing.add( 1,   2 ); # 3
say $thing.add('1', '2'); # 12

TODO

AUTHOR

Carsten Hartenfels

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Carsten Hartenfels. This program is distributed under the terms of the Artistic License 2.0. For further information, please see LICENSE or visit http://www.perlfoundation.org/attachment/legal/artistic-2_0.txt.