From 2a2c1a9c1445cfea3f3767b3e7ecb8cc2b701be2 Mon Sep 17 00:00:00 2001 From: andy-ms Date: Sun, 19 Mar 2017 10:02:00 -0700 Subject: [PATCH] Add comment --- src/compiler/sys.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/sys.ts b/src/compiler/sys.ts index 3f585900654..5275d210172 100644 --- a/src/compiler/sys.ts +++ b/src/compiler/sys.ts @@ -202,7 +202,7 @@ namespace ts { if (len >= 2 && buffer[0] === 0xFE && buffer[1] === 0xFF) { // Big endian UTF-16 byte order mark detected. Since big endian is not supported by node.js, // flip all byte pairs and treat as little endian. - len &= ~1; + len &= ~1; // Round down to a multiple of 2 for (let i = 0; i < len; i += 2) { const temp = buffer[i]; buffer[i] = buffer[i + 1];