Map, Filter and Reduce | Higher Order Functions | JavaScript Course | Logic First Tamil

preview_player
Показать описание
Javascript course with indepth explanations in tamil.

00:00:00 - Map
00:05:10 - Filter
00:06:53 - Reduce
00:07:45 - Exercise
----------------------------------------------------------------------------------------------------------------
courses and playlists

Рекомендации по теме
Комментарии
Автор

i truly say i''ll be waiting for your Class for a long time, Because you have a Excellent teaching skill and your way of teaching is awesome mam.

Arunkumar-zkwo
Автор

You are an outstanding teacher! The way you simplify concepts is truly impressive. Thank you so much for your time! God bless!!!

leosahayarajan
Автор

very very helpful for tamil cs student

JD-ebqu
Автор

romba thanks akka, please keep posting romba use aavudhu engalku !

sudarvelk-
Автор

இந்த reduce method என்னோட பொறுமைய ரொம்ப reduce பண்ணிடுச்சி mam 😢

venkateshvenkat
Автор

Bing Ai thunai 😅🙏

let arr = [1, 2, 3, 4, 5, 1, 2, 3];
let uniqueArr = arr.reduce(function (acc, val) {
if (acc.indexOf(val) === -1) {
acc.push(val);
}
return acc;
}, []);
console.log(uniqueArr); // Output: [1, 2, 3, 4, 5]

In this example code snippet, we have an array arr with some duplicate values. We use the reduce() method to iterate over each element of the array and check if it already exists in the accumulator array acc. If it doesn’t exist in the accumulator array acc, we push it to the accumulator array acc. Finally, we return the accumulator array acc which contains only unique values.

reubenprasanth
Автор

Sister poga poga konjam difficult aite pora mari iruku...catch panika kastama iruku.enna panrathu?

harinimurugesan
Автор

Mam if condition LA check panna == operator use Panama eppadi check pannurhu

jebastinraj
Автор

Mam reduce method la initialization value tharingala, atha neega kuda intha video la 1000 kuduthuthingale athu ARROW function la matu thaan mam work aaguthu... na function DECLARATION la potutu iruntha all your examples so intha reduce la matu antha initial value intha function type(declaration) la work agala mam only works in arrow function i checked it..

sheiksherif
Автор

Hi mam, inside of call back when you call the method, we no need to pass argument?


However the convert function is declared with parameter...

anandk
Автор

Sister ethana series eruku sis waiting for entire course bez I am preparing for placement after my delivery so pls upload entire courses sis

trendingguys
Автор

Hi sister, do you have plans on creating tutorials for Kotlin in future :) ?

deepan
Автор

let inputs = [6, -5, 7, -2, 4, 6, -1]
let positiveNumbs =
function findPositiveNumbs(val, index) {
return val = val > 0
}
console.log(positiveNumbs); // 6 7 4 6

let sumOfPositiveNumbs = positiveNumbs.reduce(sum);
function sum(val, el) {
return val = val + el
}
// 23

justinkiruba-iprk
Автор

Find the sum of positive numbers only:

const arr = [6, -5, 7, -2, 4, 6, -1]

const result = arr.filter(x => x > -1).reduce((accumulator, currentValue) => {
return accumulator+currentValue
}, 0)
console.log(result); // 23

sunilgeorge
Автор

Abbreviate by gathering first letter of each word:

const str = "Robert Andrew George"

const arr = str.split(' ')
const result = arr.reduce((accumulator, currentVal) => {
accumulator += currentVal.charAt(0)
// accumulator += currentVal.slice(0, 1)
// accumulator += [...currentVal][0]
// accumulator += Array.from(currentVal)[0]
return accumulator
}, '')

console.log(result);

sunilgeorge
welcome to shbcf.ru