Skip to content

Commit 96210f4

Browse files
committed
fix broken eslint tests
1 parent ddd9357 commit 96210f4

File tree

1 file changed

+2
-2
lines changed
  • lib/data-structures/chapter-1

1 file changed

+2
-2
lines changed

lib/data-structures/chapter-1/1_4.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = Strings1_4 = (function() {
66
// @retuns {Boolean} - true if a permutation of palindrome exists, false if it does not
77
palindromePermutation: function(str){
88
var distinct = 0;
9-
var s_array = Array.apply(null, Array(256)).map(Number.prototype.valueOf, 0);
9+
var s_array = Array.apply(null, Array(256)).map(Number.prototype.valueOf, 0);
1010
str = str.toLowerCase();
1111
for(var i = 0; i < str.length; i++){
1212
if(str[i] == ' '){
@@ -21,5 +21,5 @@ module.exports = Strings1_4 = (function() {
2121
}
2222
return (distinct < 2);
2323
}
24-
}
24+
};
2525
}());

0 commit comments

Comments
 (0)