mirror of
https://github.com/bellard/quickjs.git
synced 2025-11-17 03:01:51 +03:00
Strip trailing spaces
This commit is contained in:
@@ -35,7 +35,7 @@ function test_operators_create() {
|
||||
return "Vec2(" + this.x + "," + this.y + ")";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Vec2.prototype[Symbol.operatorSet] = Operators.create(
|
||||
{
|
||||
"+"(p1, p2) {
|
||||
@@ -172,7 +172,7 @@ function test_operators()
|
||||
return "Vec2(" + this.x + "," + this.y + ")";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
var a = new Vec2(1, 2);
|
||||
var b = new Vec2(3, 4);
|
||||
var r;
|
||||
|
||||
Reference in New Issue
Block a user