Repository for holding JavaScript-related practice problems. Also great for those learning JavaScript for the first time!
HTML JavaScript CSS Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
drag-and-drop-boxes-to-columns
exploring-canvas-drawing-techniques
jsterm-master
terminaljs-master
README.md
custom_toggle_switch.html
facebook_chat_clone.html
factorial.js
factorialtest.html
findsequence.js
findsequencetest.html
hangouts_chat_clone.html
html5template.html
mappingarrays.js
mappingarraystest.html
options-popout.html
power.js
powertest.html
powerwithrecursion.js
powerwithrecursiontest.html
stopwatch.html
stopwatch_multiple.html
touch-test.html

README.md

javascript-interview-practice

Repository for holding JavaScript-related practice problems. Also great for those learning JavaScript for the first time!

  • Practice Questions
    • What is the difference between declaring a variable with or without var?
    • Does a function definition have to preceed the function call?
    • Explain the Funarg problem.
    • Explain "recursion".
    • In what situation would you use a loop over recursion? Speed vs. elegance?
    • Consider this puzzle: By starting from the number 1 and repeatedly either adding 5 or multiplying by 3, an infinite amount of new numbers can be produced. how would you write a function that, given a number, tries to find a sequence of additions and multiplications that produce that number? (See findsequence.js and findsequencetest.html)
    • Explain "mutability".
    • Explain "abstraction".
    • Explain "inheritance".
    • Explain "polymorphism"
    • Explain "encapsulation"
    • Explain "modularity"