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 ead8749 commit 7207a93Copy full SHA for 7207a93
opal/core/array.rb
@@ -1424,18 +1424,18 @@ def uniq
1424
%x{
1425
var result = [],
1426
seen = {};
1427
-
+
1428
for (var i = 0, length = self.length, item, hash; i < length; i++) {
1429
item = self[i];
1430
hash = item;
1431
1432
if (!seen[hash]) {
1433
seen[hash] = true;
1434
1435
result.push(item);
1436
}
1437
1438
1439
return result;
1440
1441
end
0 commit comments