Skip to content

Types of Funtions in Javascript || Anonymous Function || Arrow Function || IIFE Function || Here are some programs coded using these types of functions

Notifications You must be signed in to change notification settings

Thangapandi-K/DAILY-TASK-DAY-04

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DAY 04 TASK

Created codes for all the below following programs and linked the file with the type of function used.

Q1. Programs in Anonymous Function & IIFE Function

a. Print odd numbers in an array using Anonymous-Funtion & IIFE-Function

b. Convert all the strings to title caps in a string array using Anonymous-Funtion & IIFE-Function

c. Sum of all numbers in an array using Anonymous-Funtion & IIFE-Function

d. Return all the prime numbers in an array using Anonymous-Funtion & IIFE-Function

e. Return all the palindromes in an array using Anonymous-Funtion & IIFE-Function

f. Return median of two sorted arrays of the same size using Anonymous-Funtion & IIFE-Function

g. Remove duplicates from an array using Anonymous-Funtion & IIFE-Function

h. Rotate an array by k times using Anonymous-Funtion & IIFE-Function

Q2. Programs in Arrow Function

a. Print odd numbers in an array using Arrow-Function

b. Convert all the strings to title caps in a string array using Arrow-Function

c. Sum of all numbers in an array using Arrow-Function

d. Return all the prime numbers in an array using Arrow-Function

e. Return all the palindromes in an array using Arrow-Function

About

Types of Funtions in Javascript || Anonymous Function || Arrow Function || IIFE Function || Here are some programs coded using these types of functions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published