From 6e114bc28bb672fd12c0ce9d2c2b72493bb0f465 Mon Sep 17 00:00:00 2001 From: Abhinav Sagar <40603139+abhinavsagar@users.noreply.github.com> Date: Thu, 11 Jul 2019 22:05:42 +0530 Subject: [PATCH 1/2] Update documented-method.js --- docs/documented-method.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/documented-method.js b/docs/documented-method.js index f4a9f48130..e133f90d40 100644 --- a/docs/documented-method.js +++ b/docs/documented-method.js @@ -36,8 +36,8 @@ DocumentedMethod.prototype = { // Merge parameters across all overloaded versions of this item. _getMergedParams: function() { - var paramNames = {}; - var params = []; + let paramNames = {}; + let params = []; this.overloads.forEach(function(overload) { if (!overload.params) { From 04d3c664e65dfc6076d516dd97e07767c6475d9e Mon Sep 17 00:00:00 2001 From: Abhinav Sagar <40603139+abhinavsagar@users.noreply.github.com> Date: Thu, 11 Jul 2019 22:42:13 +0530 Subject: [PATCH 2/2] Update documented-method.js --- docs/documented-method.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/documented-method.js b/docs/documented-method.js index e133f90d40..d7fee4cdd4 100644 --- a/docs/documented-method.js +++ b/docs/documented-method.js @@ -36,8 +36,8 @@ DocumentedMethod.prototype = { // Merge parameters across all overloaded versions of this item. _getMergedParams: function() { - let paramNames = {}; - let params = []; + const paramNames = {}; + const params = []; this.overloads.forEach(function(overload) { if (!overload.params) {