From 73b47405136af9942619556e354d52a9881b8438 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 20 Apr 2016 17:38:39 +0800 Subject: [PATCH] Array.js --- Array.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Array.js b/Array.js index 1d8a2855c1..ed3a095cec 100644 --- a/Array.js +++ b/Array.js @@ -42,9 +42,9 @@ Roo.applyIf(Array.prototype, { map : function(fun ) { var len = this.length >>> 0; - if (typeof fun != "function") + if (typeof fun != "function") { throw new TypeError(); - + } var res = new Array(len); var thisp = arguments[1]; for (var i = 0; i < len; i++) -- 2.39.2