diff options
Diffstat (limited to 'js/src/Ice/ArrayUtil.js')
-rw-r--r-- | js/src/Ice/ArrayUtil.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/src/Ice/ArrayUtil.js b/js/src/Ice/ArrayUtil.js index a3e89db4bc4..0f7b78d78fb 100644 --- a/js/src/Ice/ArrayUtil.js +++ b/js/src/Ice/ArrayUtil.js @@ -6,7 +6,7 @@ // ICE_LICENSE file included in this distribution. // // ********************************************************************** - + const Ice = require("../Ice/ModuleRegistry").Ice; const _ModuleRegistry = Ice._ModuleRegistry; const Slice = Ice.Slice; @@ -55,7 +55,7 @@ class ArrayUtil } static equals(v1, v2, valuesEqual) - { + { if(v1.length != v2.length) { return false; @@ -90,7 +90,7 @@ ArrayUtil.eq = eq; Slice.defineSequence = function(module, name, valueHelper, fixed, elementType) { let helper = null; - Object.defineProperty(module, name, + Object.defineProperty(module, name, { get: function() { |