Coder Social home page Coder Social logo

phase-1-quiz-scope's Introduction

id course_id repo
53423
7550
phase-1-quiz-scope

Scope Quiz

It's time to check your knowledge! Use this quiz to create a custom study guide. Note any answers that were marked incorrect, so you can study the relevant material and try this quiz again.

If you don't know the answer to a question, please do not guess. Instead, select "I don't know". It's OK not to know everything and to admit when we're unsure.

phase-1-quiz-scope's People

Contributors

ihollander avatar jlboba avatar lizbur10 avatar

Stargazers

 avatar

Watchers

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

phase-1-quiz-scope's Issues

My answer was marked wrong incorrectly.

Canvas Link

https://learning.flatironschool.com/courses/5234/quizzes/37552

Concern

For question 7, "All variables and functions declared in outer scopes are available in inner scopes via the scope chain.", I answered false, since variables declared with var cannot be accessed via global scope. It got marked as wrong, so 0 spoke to my instructor and he agreed with me that the test marked my answer wrong incorrectly.

Additional Context

No response

Suggested Changes

No response

Scope Quiz

Canvas Link

https://learning.flatironschool.com/courses/4978/quizzes/26866

Concern

Question is: "Lexical scope in JavaScript means that a variable defined outside a function can be accessible inside the function, but not the other way around."

And the answer you listed as correct is "true." I'd quibble with that -- didn't you just teach us that using var means that variables defined in functions are accessible globally?

Additional Context

No response

Suggested Changes

Maybe adding ", and a variable defined inside a function with const and let..." to make it more precise?

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.