Skip to content

Instantly share code, notes, and snippets.

@demoive
Last active December 20, 2015 06:58
Show Gist options
  • Select an option

  • Save demoive/6089491 to your computer and use it in GitHub Desktop.

Select an option

Save demoive/6089491 to your computer and use it in GitHub Desktop.
Front-end Developer Questions Customized list of questions/answers for front-end developer interviews. It is an offshoot of the great, user-contributed list located here: https://github.com/darcyclarke/Front-end-Developer-Interview-Questions/
  1. What is the "smallest" number possible in JavaScript?

  2. Explain why the following doesn't work as an IIFE. What needs to be changed to properly make it an IIFE? function foo(){ }();

  3. What is arr.length?

var arr = [];
arr[10] = 'ten';
  1. What is the "smallest" number possible in JavaScript?
  • Number.MIN_VALUE
  • Technically smaller: -Infinity = -1/0
  1. Explain why the following doesn't work as an IIFE. What needs to be changed to properly make it an IIFE? function foo(){ }();

  2. What is arr.length?

var arr = [];
arr[10] = 'ten';
  • 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment