From 0cd96f53387e78a9b148cc0f606a1df57329d709 Mon Sep 17 00:00:00 2001 From: Brian Ng Date: Tue, 14 Mar 2017 09:16:06 -0500 Subject: [PATCH] address review comments --- scripts/build-data.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/build-data.js b/scripts/build-data.js index 030e7ab2..2b4ad84f 100644 --- a/scripts/build-data.js +++ b/scripts/build-data.js @@ -40,10 +40,9 @@ const interpolateAllResults = (rawBrowsers, tests) => { let prevBrowser; let result; let prevResult; - let bid; let prevBid; - for (bid in rawBrowsers) { + for (const bid in rawBrowsers) { // For browsers that are essentially equal to other browsers, // copy over the results. browser = rawBrowsers[bid]; @@ -161,11 +160,6 @@ const getLowestImplementedVersion = ({ features }, env) => { const envTests = tests .map(({ res: test, name, isBuiltIn }, i) => { - - if (name === "const/basic support") { - console.log(test); - } - // Babel itself doesn't implement the feature correctly, // don't count against it // only doing this for built-ins atm