compile InfinityLiterals to 2e308
This commit is contained in:
parent
8afb7cc95b
commit
585932cf5b
|
@ -561,7 +561,7 @@
|
|||
}
|
||||
|
||||
InfinityLiteral.prototype.compileNode = function() {
|
||||
return [this.makeCode('Infinity')];
|
||||
return [this.makeCode('2e308')];
|
||||
};
|
||||
|
||||
return InfinityLiteral;
|
||||
|
|
|
@ -402,7 +402,7 @@ exports.NumberLiteral = class NumberLiteral extends Literal
|
|||
|
||||
exports.InfinityLiteral = class InfinityLiteral extends NumberLiteral
|
||||
compileNode: ->
|
||||
[@makeCode 'Infinity']
|
||||
[@makeCode '2e308']
|
||||
|
||||
exports.StringLiteral = class StringLiteral extends Literal
|
||||
|
||||
|
|
Loading…
Reference in New Issue