Skip to main content

Coding Challenges for JavaScript Interview

In this tutorial we will go through JavaScript Interview Questions and answers.

Questions Discussed:

  1. Create a function which takes a number as a string and returns the number as a string without trailing and leading zeros.
  2. Create a function which takes an object as input and converts it into an array of keys and values.
  3. Create a function which takes an Array of numbers as input and returns the smallest number from array.
  4. Create a function which takes a string as input and returns true if the string contains any number.
  5. Create a function which will calculate the length of a Nested Array.
  6. Create a function which will take two dates as input and returns the number of days between them.
  7. Create a function which will remove last vowels from every word in a sentence.

Watch the video shared above for solutions.

Important links:

Github Project: https://github.com/kirandash/challenges

Follow Me On Github: https://github.com/kirandash

Follow Me On Twitter: https://twitter.com/kirankdash