From 3f4bec58c80edaded2ed1977d310f6dec55cfdc5 Mon Sep 17 00:00:00 2001 From: Sajay Date: Wed, 10 Aug 2022 14:24:50 -0400 Subject: [PATCH] Changing .each to forEach --- lib/esapi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/esapi.js b/lib/esapi.js index 6429351..155b6ff 100644 --- a/lib/esapi.js +++ b/lib/esapi.js @@ -1017,7 +1017,7 @@ esapi.DefaultEncoder = function(aCodecs) { while (!clean) { clean = true; - _codecs.each(function(codec) { + _codecs.forEach(function(codec) { var old = working; working = codec.decode(working);