/ZENTASK-5

Programs in anonymous function & IIFE and Arrow function

Primary LanguageJavaScript

ZENTASK-5

Question-1 - Below programs in anonymous function & IIFE.

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 -3 - Below programs in arrow functions.

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