Fix typo in comment

This commit is contained in:
Henry Mercer
2017-08-28 23:43:29 +01:00
parent 2c028ae3e5
commit 01657e2036

View File

@@ -3817,7 +3817,7 @@ namespace ts {
// new C.x -> not the same as (new C).x
//
// ObjectLiteral:
// {a:1}.toString() -> is incorrect syntax, should be ({a:3}).toString()
// {a:1}.toString() -> is incorrect syntax, should be ({a:1}).toString()
//
const emittedExpression = skipPartiallyEmittedExpressions(expression);
if (isLeftHandSideExpression(emittedExpression)