Some things about JavaScript

1. What are the possible ways to create objects in JavaScript?

2. What is the difference between Call, Apply and Bind?

Output:

3. What is JSON and its common operations

4. What is the purpose of the array slice method

5. What is the purpose of the array splice method

6. What is the difference between slice and splice.

  1. Doesn’t modify the original array(immutable)
  2. Returns the subset of original array
  3. Used to pick the elements from array
  1. Modifies the original array(mutable)
  2. Returns the deleted elements as array
  3. Used to insert or delete elements to/from array

7. What is the difference between == and === operators

  1. Two strings are strictly equal when they have the same sequence of characters, same length, and same characters in corresponding positions.
  2. Two numbers are strictly equal when they are numerically equal. i.e, having the same number value. There are two special cases in this,
  3. NaN is not equal to anything, including NaN.
  4. Positive and negative zeros are equal to one another.
  5. Two Boolean operands are strictly equal if both are true or both are false.
  6. Two objects are strictly equal if they refer to the same object.
  7. Null and Undefined types are not equal with ===, but equal with ==. i.e, null===undefined → false but null==undefined → true

8. What are lambda or arrow functions

9. What is IIFE(Immediately Invoked Function Expression)

10. What is a higher order function?

--

--

--

I am Aiman. I am a web developer. I can learn anything at any time. For that, I take the help of Google. My core skill is based on JavaScript .

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Comparison of Angular Admin Template

JavaScript News and Updates (August 2018)

Testing React Typescript with Jest and Enzyme

Why I Got Rid of getInitialProps in My Next.js Project

View inside cave

React Native: How to use custom fonts

Typescript Generics — Deep dive

Create your own website monitor with NodeJS and Bugsnag, the ultimate step-by-step

Golang Gin Server export Typescript REST-API

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ahad Hossain Aiman

Ahad Hossain Aiman

I am Aiman. I am a web developer. I can learn anything at any time. For that, I take the help of Google. My core skill is based on JavaScript .

More from Medium

Must know iterating array methods for any javascript interview!

Array and Object Destructuring in JavaScript

JavaScript Event Listeners

JavaScript arrow functions vs regular functions