/Day-4-Task

Day-4 task

Primary LanguageJavaScript

This is Day 4 Task. In this task I have written code for

1.Anonymous function & IIFE

-> Print odd numbers in an array. -> Convert all the strings to title caps in a string array. -> Sum of all numbers in an array. -> Return all the prime numbers in an array. -> Return all the palindromes in an array. -> Return median of two sorted arrays of the same size. -> Remove duplicates from an array. -> Rotate an array by k times.

  1. Arrow function

-> Print odd numbers in an array. -> Convert all the strings to title caps in a string array. -> Sum of all numbers in an array. -> Return all the prime numbers in an array. -> Return all the palindromes in an array.