Code Monkey home page Code Monkey logo

javascript-program's Introduction

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
  • Question 35 : Write a JavaScript program to make a Simple Calculator.
  • Question 36 : Write a JavaScript Program to Find Armstrong Number in an Interval.
  • Question 37 : Write a JavaScript Program to generate random numbers.
  • More Questions to be added soon!

Author : Abhay Anand

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.