Skip to content

Just an repo to store basic javascript problem for enhancing you js skills!

Notifications You must be signed in to change notification settings

preeti-14-7/JavaScript-Program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Programs

Problems

  • Question 1 : WAJP to compute the absolute difference between a specified number and 19. Return triple their absolute difference if specified number is greater than 19.
  • Question 2 : Write a JavaScript program to check if the last digit of the three given positive integers is same.
  • Question 3 : Write a JavaScript program to check if two numbers are in range 40..60 or in the range 70..100 inclusive.
  • Question 4 : Write a JavaScript program which accepts a function called sameFrequency. This function takes two positive integers and finds out if they have the same frequency of digits.
  • Question 5 : Write a JavaScript Program to Check if the two given Numbers Have Same Last Digit or not
  • Question 6: Write a Javascript program that returns only the even numbers from an array of integers.
  • Question 7 : Write a JavaScript program to check if expression has valid parenthesis.
  • Question 8 : Write a JavaScript program to find Armstrong number between intervals.
  • Question 9 : Write a JavaScript program to Check whether an input is a string or not.
  • Question 10 : Write a JavaScript program to find the highest index at which a value should be inserted into an array in order to maintain its sort order.
  • Question 11 : Write a JavaScript program to show QuickSort Algorithm in JavaScript.
  • Question 12 : Write a JavaScript program to Implement enqueue and dequeue using only two stacks
  • Question 13 : How to validate a form in JavaScript?
  • Question 14 : Write the code for adding new elements dynamically?
  • Question 15 : How to validate email in JavaScript?
  • Question 16 : Write a program to show currying in JavaScript?
  • Question 17 : Write a function that performs binary search on a sorted array.
  • Question 18 : Write a javascript program to show scope chain.
  • Question 19 : Testing your this knowledge in JavaScript: What is the output of the following code?
  • Question 20 : Implement a function that returns an updated array with r right rotations on an array of integers a.
  • Question 21 : Explain WeakSet in javascript.
  • Question 22 : Tell us about the difference between .call() and .apply() functions. Give an example of demonstrating the difference between the two JS functions.
  • Question 23 : What are Exports & Imports?
  • Question 24 : WAJP program to convert date to number.
  • Question 25 : How to convert an Object {} into an Array [] in JavaScript?
  • Question 26 : Print first 10 Fibonacci numbers
  • Question 27 : Write a JavaScript program to find fibonacci series.
  • Question 28 : Map, Filter and Reduce Explained.
  • Question 29 : Write a program to print factorial of a number.
  • Question 30 : Write a Javascript program to find number of trailing zeros in the factorial of a number
  • Question 31 : Write a program to create JavaScript object using object literal.
  • Question 32 : JavaScript Program for MergeSort.
  • Question 33 : Write a JavaScript program to display the current day and time in the following format. Today is : Tuesday. Current time is : 10 PM : 30 : 38
  • Question 34 : Write a program to reverse a string in Javascript
  • More Questions to be added soon!

Author : Abhay Anand

About

Just an repo to store basic javascript problem for enhancing you js skills!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published