├── .github ├── FUNDING.yml └── workflows │ └── gen-toc.yml ├── .gitignore ├── README.md ├── coding-exercise ├── accidental-global.js ├── array-methods-chaining.js ├── async-await-error.js ├── class-multiple-constructors.js ├── closure-counter.js ├── debounce-function │ ├── README.md │ └── debounce.js ├── deep-merge-nested-objects │ ├── README.md │ ├── question.md │ └── solution.js ├── destructuring-defaults.js ├── eventloop-order.js ├── floatingpoint-problem.js ├── function-arrow-context.js ├── function-context.js ├── function-expression.js ├── function-hoisted.js ├── function-without-new.js ├── object-property-shorthand.js ├── promise-all-behavior.js ├── prototype-chain.js ├── semicolon-issue.js ├── spread-operator-objects.js ├── superArrayOfObjects │ ├── README.md │ └── superArrayOfObjects.js ├── temporal-dead-zone.js ├── throttle-function │ ├── README.md │ └── throttle.js └── type-coercion-comparison.js ├── images ├── bom.png ├── call-stack.png ├── collab │ ├── BFCM2025.gif │ ├── frontendlead-banner.png │ ├── greatfrontend-js-banner4x.png │ └── greatfrontend-js.gif ├── console-css.png ├── console-dir.png ├── console-html.png ├── console-table.png ├── cookie.png ├── event-flow.png ├── event-table.png ├── heap.png ├── observables.png ├── promises.png ├── prototype_chain.png └── temporal.jpg ├── package.json └── scripts └── toc.mjs /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/gen-toc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/.github/workflows/gen-toc.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/README.md -------------------------------------------------------------------------------- /coding-exercise/accidental-global.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/accidental-global.js -------------------------------------------------------------------------------- /coding-exercise/array-methods-chaining.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/array-methods-chaining.js -------------------------------------------------------------------------------- /coding-exercise/async-await-error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/async-await-error.js -------------------------------------------------------------------------------- /coding-exercise/class-multiple-constructors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/class-multiple-constructors.js -------------------------------------------------------------------------------- /coding-exercise/closure-counter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/closure-counter.js -------------------------------------------------------------------------------- /coding-exercise/debounce-function/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/debounce-function/README.md -------------------------------------------------------------------------------- /coding-exercise/debounce-function/debounce.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/debounce-function/debounce.js -------------------------------------------------------------------------------- /coding-exercise/deep-merge-nested-objects/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/deep-merge-nested-objects/README.md -------------------------------------------------------------------------------- /coding-exercise/deep-merge-nested-objects/question.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/deep-merge-nested-objects/question.md -------------------------------------------------------------------------------- /coding-exercise/deep-merge-nested-objects/solution.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/deep-merge-nested-objects/solution.js -------------------------------------------------------------------------------- /coding-exercise/destructuring-defaults.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/destructuring-defaults.js -------------------------------------------------------------------------------- /coding-exercise/eventloop-order.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/eventloop-order.js -------------------------------------------------------------------------------- /coding-exercise/floatingpoint-problem.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/floatingpoint-problem.js -------------------------------------------------------------------------------- /coding-exercise/function-arrow-context.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/function-arrow-context.js -------------------------------------------------------------------------------- /coding-exercise/function-context.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/function-context.js -------------------------------------------------------------------------------- /coding-exercise/function-expression.js: -------------------------------------------------------------------------------- 1 | var y = 1; 2 | if (function f(){}) { 3 | y += typeof f; 4 | } 5 | console.log(y); -------------------------------------------------------------------------------- /coding-exercise/function-hoisted.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/function-hoisted.js -------------------------------------------------------------------------------- /coding-exercise/function-without-new.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/function-without-new.js -------------------------------------------------------------------------------- /coding-exercise/object-property-shorthand.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/object-property-shorthand.js -------------------------------------------------------------------------------- /coding-exercise/promise-all-behavior.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/promise-all-behavior.js -------------------------------------------------------------------------------- /coding-exercise/prototype-chain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/prototype-chain.js -------------------------------------------------------------------------------- /coding-exercise/semicolon-issue.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/semicolon-issue.js -------------------------------------------------------------------------------- /coding-exercise/spread-operator-objects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/spread-operator-objects.js -------------------------------------------------------------------------------- /coding-exercise/superArrayOfObjects/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/superArrayOfObjects/README.md -------------------------------------------------------------------------------- /coding-exercise/superArrayOfObjects/superArrayOfObjects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/superArrayOfObjects/superArrayOfObjects.js -------------------------------------------------------------------------------- /coding-exercise/temporal-dead-zone.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/temporal-dead-zone.js -------------------------------------------------------------------------------- /coding-exercise/throttle-function/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/throttle-function/README.md -------------------------------------------------------------------------------- /coding-exercise/throttle-function/throttle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/throttle-function/throttle.js -------------------------------------------------------------------------------- /coding-exercise/type-coercion-comparison.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/coding-exercise/type-coercion-comparison.js -------------------------------------------------------------------------------- /images/bom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/bom.png -------------------------------------------------------------------------------- /images/call-stack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/call-stack.png -------------------------------------------------------------------------------- /images/collab/BFCM2025.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/collab/BFCM2025.gif -------------------------------------------------------------------------------- /images/collab/frontendlead-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/collab/frontendlead-banner.png -------------------------------------------------------------------------------- /images/collab/greatfrontend-js-banner4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/collab/greatfrontend-js-banner4x.png -------------------------------------------------------------------------------- /images/collab/greatfrontend-js.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/collab/greatfrontend-js.gif -------------------------------------------------------------------------------- /images/console-css.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/console-css.png -------------------------------------------------------------------------------- /images/console-dir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/console-dir.png -------------------------------------------------------------------------------- /images/console-html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/console-html.png -------------------------------------------------------------------------------- /images/console-table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/console-table.png -------------------------------------------------------------------------------- /images/cookie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/cookie.png -------------------------------------------------------------------------------- /images/event-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/event-flow.png -------------------------------------------------------------------------------- /images/event-table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/event-table.png -------------------------------------------------------------------------------- /images/heap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/heap.png -------------------------------------------------------------------------------- /images/observables.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/observables.png -------------------------------------------------------------------------------- /images/promises.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/promises.png -------------------------------------------------------------------------------- /images/prototype_chain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/prototype_chain.png -------------------------------------------------------------------------------- /images/temporal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/images/temporal.jpg -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/package.json -------------------------------------------------------------------------------- /scripts/toc.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sudheerj/javascript-interview-questions/HEAD/scripts/toc.mjs --------------------------------------------------------------------------------