Skip to content

Latest commit

 

History

History
40 lines (20 loc) · 1011 Bytes

readme.md

File metadata and controls

40 lines (20 loc) · 1011 Bytes

All js file are linked in index.html

QUESTION NO 1 => 1-anonymousAnd_IIFE_Function.js

question 1 contain: anonymous and IIFE function

a. Print odd numbers in an array

b.Convert all the strings to title caps in a string array

c.Sum of all numbers in an array

d.Return all the prime numbers in an array

e.Return all the palindromes in an array

f.Return median of two sorted arrays of the same size.

g.Remove duplicates from an array

h.Rotate an array by k times

QUESTION NO 2 => 1-anonymousAnd_IIFE_Function.js

question 2 contain: in arrow fucntion

a.Print odd numbers in an array

b.Convert all the strings to title caps in a string array

c.Sum of all numbers in an array

d.Return all the prime numbers in an array

e.Return all the palindromes in an array

you can see the output console in the netlify link given below

NETLIFY LINK => click me