Skip to content

Comments

Caitlin G's JavaScript-I Project#180

Open
caitlin-g wants to merge 5 commits intobloominstituteoftechnology:masterfrom
caitlin-g:master
Open

Caitlin G's JavaScript-I Project#180
caitlin-g wants to merge 5 commits intobloominstituteoftechnology:masterfrom
caitlin-g:master

Conversation

@caitlin-g
Copy link

- Completed Objects Exercises
- Completed exercises in array.js
- Completed the stretch question in objects.js
@kait-schorr
Copy link

Objectives

  • Student should be able to use let, const, and var and demonstrate their differences.
  • Student should be able to demonstrate the ability to use Object literals and Arrays along with the common Array methods
  • Student should be able to describe and demonstrate the differences between function scope and block scope

Great

  • Good job committing more often!
  • Good job completing all the exercises.
  • You completed a stretch goal, great job!
  • Your code is well structured.
  • Excellent job implementing ES6 syntax.
  • Your variable names are short and descriptive of what they represent, very nice!

Requested Improvements

  • Your objects.js does not execute without throwing an error. Be sure your programs will execute before submitting.

Questions

  • What is the advantage of using ForEach or built-in array methods over for loops? The disadvantage?

Rating: {1-3}

2

// console.log(kennan.speak());

kennan["speak"] = console.log("Hello, My name is Kennan!");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't set kennan.speak to a function. Try:

kennan["speak"] = function() {
  console.log("Hello, My name is Kennan!");
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants