wasm-bindgen/crates/js-sys/tests/wasm/Reflect.js
2018-07-21 20:07:55 -07:00

26 lines
328 B
JavaScript

exports.get_char_at = function() {
return "foo".charAt;
};
exports.Rectangle = class {
constructor(x, y){
this.x = x,
this.y = y
}
static eq(x, y) {
return x === y;
}
};
exports.Rectangle2 = class {
constructor(x, y){
this.x = x,
this.y = y
}
static eq(x, y) {
return x === y;
}
};