ezjs 0.1.1

ezjs is a simple and micro Javascript (ES5) engine is Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
pub const BUILDIN_SCRIPT: &str = r#"
    Object.defineProperty(Array.prototype, "length", {
        "writable": false,
        "configurable": false,
        "get": function() {
            return this.__len__(); 
        },
    });
    
"#;