Giter Club home page Giter Club logo

core-unit-3's Introduction

core-unit-3

core-unit-3's People

Contributors

alope107 avatar anselrognlie avatar audreyandoy avatar beccaelenzil avatar cheezitman avatar goeunpark avatar jericahuang avatar jmaddox19 avatar kelsey-steven-ada avatar kyra-patton avatar spitsfire avatar tildeee avatar yangashley avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

core-unit-3's Issues

Consider adding additional refactoring challenge for operations

We could consider doing this in a loop, which I find a little more compelling and would challenge the reader to do some research about for/of. But it would require some rework to the following passages.

for (const operator of [multiply, add]) {
  const result = calculate(7, 6, operator);
  console.log('Our final result from calculate is:', result);
}

Originally posted by @anselrognlie in #8 (comment)

do we need to change how we describe const funcName = function funcName()

From reading I've done in the past, technically this is an anonymous function, and it's only through interpreter convention that it looks for the assignment to a variable to try an associate a name with the function, largely to aid with debugging. We can see in other situations that (passing a new function expression as an expression to another function) that the name property will not be populated. Consider:

const pn = function(fn) { console.log(fn.name); };
pn(pn);  // prints "pn". Not standard, but everything does it 🤷 
pn(function(){});  // prints ""

Originally posted by @anselrognlie in #7 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.