avatarTim Han

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

1600

Abstract

<code>const</code> )</li></ul><blockquote id="885a"><p><b>Closure</b></p></blockquote><ul><li>Prepare to define <b>closure</b></li><li>Advantages of using closure (eg. hiding data)</li></ul><blockquote id="9f68"><p><code><b>this</b></code></p></blockquote><ul><li>Know what <b>context</b> is</li><li>How to use <code>this</code> keyword in your code</li><li>Good to how you can use it in for binding context</li></ul><blockquote id="1598"><p><b>Prototypal Inheritance</b></p></blockquote><ul><li>Remember that JavaScript uses <b>prototypal inheritance</b></li><li>How to create your own prototype chain using objects</li><li>Good to know the difference between <b>prototypal inheritance</b> and <b>classical inheritance</b></li></ul><blockquote id="4893"><p><b>Promise</b></p></blockquote><ul><li>Advantages of using <b>promises</b></li><li>How to implement your own <b>promise</b></li></ul><blockquote id="908e"><p><b>Pass by Value & Reference</b></p></blockquote><ul><li>Difference between <b>pass by value</b> and <b>pass by reference</b></li><li>Primitive type variables are copied</li></ul><blockquote id="e02d"><p><b>Higher-Order Function</b></p></blockquote><ul><li>Know what function being <b>first-class object</b> in JavaScript means</li><li>JavaScript allows function to be passed an argument to another function</li></ul><p id="816c">Certainly check out the references below to solidify your basics of JavaScript for the interviews!</p><h1 id="5bdc">References</h1><h2 id="6c3f">Basics of JavaScript:</h2><blockquote id="39d6"><p><b>Variable</b>: <a href="https://readmedium.com/basic

Options

s-of-javascript-variable-3eb6f4f0af18">https://readmedium.com/basics-of-javascript-variable-3eb6f4f0af18</a></p></blockquote><blockquote id="f434"><p><b>Data Types</b>: <a href="https://readmedium.com/basics-of-javascript-data-types-385bab24b51">https://readmedium.com/basics-of-javascript-data-types-385bab24b51</a></p></blockquote><h2 id="1f0e">JavaScript Fundamentals</h2><blockquote id="3780"><p><b>Prototypal Inheritance</b>: <a href="https://readmedium.com/javascript-fundamental-prototypal-inheritance-9153ab434aae">https://readmedium.com/javascript-fundamental-prototypal-inheritance-9153ab434aae</a></p></blockquote><h2 id="6aa2">JavaScript Array Methods</h2><blockquote id="e4d3"><p><b>Array Methods Cheatsheet</b>: <a href="https://readmedium.com/javascript-array-methods-cheatsheet-633f761ac250">https://readmedium.com/javascript-array-methods-cheatsheet-633f761ac250</a></p></blockquote><h2 id="f50a">Sorting Algorithms</h2><blockquote id="9507"><p><b>Merge Sort in JavaScript</b>: <a href="https://readmedium.com/javascript-merge-sort-3205891ac060">https://readmedium.com/javascript-merge-sort-3205891ac060</a></p></blockquote><h2 id="29f6">Additional:</h2><blockquote id="4197"><p><b>Github</b>: <a href="https://github.com/yeb9925/sorting-algorithms">https://github.com/yeb9925/sorting-algorithms</a></p></blockquote><blockquote id="2fb2"><p><b>What You Should Know Latest JavaScript</b>: <a href="https://hackernoon.com/why-you-should-know-latest-javascript-4a72a55fca5d">https://hackernoon.com/why-you-should-know-latest-javascript-4a72a55fca5d</a></p></blockquote></article></body>

8 JavaScript Interview Topics

Source

As more people are learning JavaScript and more jobs using JavaScript open, it’s important to be prepared with some of the basic/hot topics asked during interviews. These aren’t the only topics you should be studying, but these topics can certainly be good starting points for a lot of people.

Let’s go over the 8 topics and couple of things that you should know for each topic:

Topics

  1. Scope
  2. Hoisting
  3. Closure
  4. this
  5. Prototypal Inheritance
  6. Promise
  7. Pass by Value & Reference
  8. Higher-Order Function

Scope

  • Difference between global scope and block scope
  • Know which variable is available and where

Hoisting

  • Remember that variable and function declaration get hoisted
  • Different ways to declare a variable and which one leads to variable hoisting (var, let, and const )

Closure

  • Prepare to define closure
  • Advantages of using closure (eg. hiding data)

this

  • Know what context is
  • How to use this keyword in your code
  • Good to how you can use it in for binding context

Prototypal Inheritance

  • Remember that JavaScript uses prototypal inheritance
  • How to create your own prototype chain using objects
  • Good to know the difference between prototypal inheritance and classical inheritance

Promise

  • Advantages of using promises
  • How to implement your own promise

Pass by Value & Reference

  • Difference between pass by value and pass by reference
  • Primitive type variables are copied

Higher-Order Function

  • Know what function being first-class object in JavaScript means
  • JavaScript allows function to be passed an argument to another function

Certainly check out the references below to solidify your basics of JavaScript for the interviews!

References

Basics of JavaScript:

Variable: https://readmedium.com/basics-of-javascript-variable-3eb6f4f0af18

Data Types: https://readmedium.com/basics-of-javascript-data-types-385bab24b51

JavaScript Fundamentals

Prototypal Inheritance: https://readmedium.com/javascript-fundamental-prototypal-inheritance-9153ab434aae

JavaScript Array Methods

Array Methods Cheatsheet: https://readmedium.com/javascript-array-methods-cheatsheet-633f761ac250

Sorting Algorithms

Merge Sort in JavaScript: https://readmedium.com/javascript-merge-sort-3205891ac060

Additional:

Github: https://github.com/yeb9925/sorting-algorithms

What You Should Know Latest JavaScript: https://hackernoon.com/why-you-should-know-latest-javascript-4a72a55fca5d

JavaScript
Interview
Technology
Programming
Software Development
Recommended from ReadMedium