From 2e6e7cb915cb457a4272804425257d24f20735d6 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 27 Nov 2008 14:05:15 +0000 Subject: [PATCH] declare var in javascript#objectKeys --- content/completion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/completion.js b/content/completion.js index 23a7c80d..75b0a581 100644 --- a/content/completion.js +++ b/content/completion.js @@ -533,7 +533,7 @@ function Completion() //{{{ compl.push(["wrappedJSObject", obj]); // Parse keys for sorting compl.forEach(function (item) { - key = item[0]; + let key = item[0]; if (!isNaN(key)) key = parseInt(key); else if (/^[A-Z_]+$/.test(key))