From 3e6626fdc8aa247d7d5df4074f7f818e7ac1cf1c Mon Sep 17 00:00:00 2001 From: John Arrowwood Date: Sun, 21 Feb 2021 17:09:47 -0500 Subject: [PATCH] Update GmailUtils.gs Update isa_ to rename "class" parameter to "classname" since "class" has become a reserved word. --- GmailUtils.gs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GmailUtils.gs b/GmailUtils.gs index 9f8aaa9..52cc2d5 100644 --- a/GmailUtils.gs +++ b/GmailUtils.gs @@ -473,11 +473,11 @@ function formatEmails_(emails) { * with toString. * * @param {Object} obj - * @param {string} class + * @param {string} classname * @return {boolean} */ -function isa_(obj, class) { - return typeof obj == 'object' && typeof obj.constructor == 'undefined' && obj.toString() == class; +function isa_(obj, classname) { + return typeof obj == 'object' && typeof obj.constructor == 'undefined' && obj.toString() == classname; } /**