We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2cd3fc commit 33123a0Copy full SHA for 33123a0
app/code/Magento/PageCache/view/frontend/web/js/page-cache.js
@@ -295,7 +295,7 @@ define([
295
*/
296
function generateRandomString(chars, length) {
297
var result = '';
298
- length = length > 0 && Number.isFinite(length) ? length : 1;
+ length = length > 0 ? length : 1;
299
300
while (length--) {
301
result += chars[Math.round(Math.random() * (chars.length - 1))];
0 commit comments