wasm-bindgen/crates/js-sys/tests/wasm/Reflect.js

26 lines
328 B
JavaScript
Raw Normal View History

2018-07-22 06:07:55 +03:00
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;
}
};