Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions practice.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
// Code Here

// Do not edit the code below.
var names = ['Tyler', 'Cahlan', 'Ryan', 'Colt', 'Tyler', 'Blaine', 'Cahlan'];
let names = ['Tyler', 'Cahlan', 'Ryan', 'Colt', 'Tyler', 'Blaine', 'Cahlan'];

first(names, function(firstName){
console.log('The first name in names is ' + firstName);
Expand Down Expand Up @@ -142,7 +142,7 @@ each(names, function(item, indice){
// Code here

// Do not edit the code below.
var users = [
let users = [
{
id: '12d',
email: 'tyler@gmail.com',
Expand All @@ -166,4 +166,4 @@ var users = [
getUserById(users, '16t', function(user){
console.log('The user with the id 16t has the email of ' + user.email + ' the name of ' + user.name + ' and the address of ' + user.address);
});
// Do not edit the code above.
// Do not edit the code above.