Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit 3c8ddff

Browse files
authored
First Commit
1 parent 6f879fc commit 3c8ddff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Week3/homework/step3-bonus.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const values = ['a', 'b', 'c', 'd', 'a', 'e', 'f', 'c'];
44

55
function makeUnique(arr) {
6-
var myUniqueArray = [];
6+
const myUniqueArray = [];
77
arr.forEach(function(element) {
88
if (myUniqueArray.indexOf(element) === -1) {
99
myUniqueArray.push(element);

0 commit comments

Comments
 (0)