We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e69120c commit d8cb7d6Copy full SHA for d8cb7d6
Project/Assets/Plugins/Jint/Native/JsNumberConstructor.cs
@@ -16,8 +16,8 @@ public JsNumberConstructor(IGlobal global)
16
this.DefineOwnProperty("MAX_VALUE", New(Double.MaxValue));
17
this.DefineOwnProperty("MIN_VALUE", New(Double.MinValue));
18
this.DefineOwnProperty("NaN", New(Double.NaN));
19
- this.DefineOwnProperty("NEGATIVE_INFINITY", New(Double.PositiveInfinity));
20
- this.DefineOwnProperty("POSITIVE_INFINITY", New(Double.NegativeInfinity));
+ this.DefineOwnProperty("POSITIVE_INFINITY", New(Double.PositiveInfinity));
+ this.DefineOwnProperty("NEGATIVE_INFINITY", New(Double.NegativeInfinity));
21
}
22
23
public override void InitPrototype(IGlobal global) {
0 commit comments