Day: 30,31
Completed the @freeCodeCamp Functional Programming course. It includes a lot of new things like different methods() to manipulate strings and arrays.
#100DaysOfCode
1โƒฃ๐—™๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ด ๐˜ช๐˜ด ๐˜ต๐˜ฉ๐˜ฆ ๐˜ฑ๐˜ณ๐˜ฐ๐˜ค๐˜ฆ๐˜ด๐˜ด ๐˜ฐ๐˜ง ๐˜ฃ๐˜ถ๐˜ช๐˜ญ๐˜ฅ๐˜ช๐˜ฏ๐˜จ ๐˜ด๐˜ฐ๐˜ง๐˜ต๐˜ธ๐˜ข๐˜ณ๐˜ฆ ๐˜ฃ๐˜บ ๐˜ค๐˜ฐ๐˜ฎ๐˜ฑ๐˜ฐ๐˜ด๐˜ช๐˜ฏ๐˜จ ๐˜ฑ๐˜ถ๐˜ณ๐˜ฆ ๐˜ง๐˜ถ๐˜ฏ๐˜ค๐˜ต๐˜ช๐˜ฐ๐˜ฏ๐˜ด, ๐˜ข๐˜ท๐˜ฐ๐˜ช๐˜ฅ๐˜ช๐˜ฏ๐˜จ ๐˜ด๐˜ฉ๐˜ข๐˜ณ๐˜ฆ๐˜ฅ ๐˜ด๐˜ต๐˜ข๐˜ต๐˜ฆ, ๐˜ฎ๐˜ถ๐˜ต๐˜ข๐˜ฃ๐˜ญ๐˜ฆ ๐˜ฅ๐˜ข๐˜ต๐˜ข, ๐˜ข๐˜ฏ๐˜ฅ ๐˜ด๐˜ช๐˜ฅ๐˜ฆ-๐˜ฆ๐˜ง๐˜ง๐˜ฆ๐˜ค๐˜ต๐˜ด.
#100DaysOfCode
2โƒฃ๐—–๐—ฎ๐—น๐—น๐—ฏ๐—ฎ๐—ฐ๐—ธ๐˜€ ๐˜ข๐˜ณ๐˜ฆ ๐˜ต๐˜ฉ๐˜ฆ ๐˜ง๐˜ถ๐˜ฏ๐˜ค๐˜ต๐˜ช๐˜ฐ๐˜ฏ๐˜ด ๐˜ต๐˜ฉ๐˜ข๐˜ต ๐˜ข๐˜ณ๐˜ฆ ๐˜ด๐˜ญ๐˜ช๐˜ฑ๐˜ฑ๐˜ฆ๐˜ฅ ๐˜ฐ๐˜ณ ๐˜ฑ๐˜ข๐˜ด๐˜ด๐˜ฆ๐˜ฅ ๐˜ช๐˜ฏ๐˜ต๐˜ฐ ๐˜ข๐˜ฏ๐˜ฐ๐˜ต๐˜ฉ๐˜ฆ๐˜ณ ๐˜ง๐˜ถ๐˜ฏ๐˜ค๐˜ต๐˜ช๐˜ฐ๐˜ฏ ๐˜ต๐˜ฐ ๐˜ฅ๐˜ฆ๐˜ค๐˜ช๐˜ฅ๐˜ฆ ๐˜ต๐˜ฉ๐˜ฆ ๐˜ช๐˜ฏ๐˜ท๐˜ฐ๐˜ค๐˜ข๐˜ต๐˜ช๐˜ฐ๐˜ฏ ๐˜ฐ๐˜ง ๐˜ต๐˜ฉ๐˜ข๐˜ต ๐˜ง๐˜ถ๐˜ฏ๐˜ค๐˜ต๐˜ช๐˜ฐ๐˜ฏ.
#100DaysOfCode
3โƒฃFunctions that can be assigned to a variable, passed into another function, or returned from another function just like any other normal value, are called ๐—™๐—ถ๐—ฟ๐˜€๐˜-๐—ฐ๐—น๐—ฎ๐˜€๐˜€ ๐—ณ๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป๐˜€. In JavaScript, all functions are first class functions.
#100DaysOfCode
4โƒฃThe functions that take a function as an argument, or return a function as a return value are called ๐—›๐—ถ๐—ด๐—ต๐—ฒ๐—ฟ-๐—ผ๐—ฟ๐—ฑ๐—ฒ๐—ฟ ๐—ณ๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป๐˜€.
#100DaysOfCode
5โƒฃWhen the functions are passed in to another function or returned from another function, then those functions which gets passed in or returned can be called a ๐—Ÿ๐—ฎ๐—บ๐—ฏ๐—ฑ๐—ฎ.
#100DaysOfCode
6โƒฃThe ๐—บ๐—ฎ๐—ฝ ๐—บ๐—ฒ๐˜๐—ต๐—ผ๐—ฑ() iterates over each item in an array and returns a new array containing the results of calling the callback function on each element. It does this without mutating the original array.
#100DaysOfCode
7โƒฃ๐—ณ๐—ถ๐—น๐˜๐—ฒ๐—ฟ() calls a function on each element of an array and returns a new array containing only the elements for which that function returns true. In other words, it filters the array, based on the function passed to it.
#100DaysOfCode
8โƒฃ๐—”๐—ฟ๐—ฟ๐—ฎ๐˜†.๐—ฝ๐—ฟ๐—ผ๐˜๐—ผ๐˜๐˜†๐—ฝ๐—ฒ.๐—ฟ๐—ฒ๐—ฑ๐˜‚๐—ฐ๐—ฒ(), or simply ๐—ฟ๐—ฒ๐—ฑ๐˜‚๐—ฐ๐—ฒ(), is the most general of all array operations in JavaScript. You can solve almost any array processing problem using the reduce method.
#100DaysOfCode
9โƒฃThe ๐˜€๐—ฝ๐—น๐—ถ๐˜() ๐—บ๐—ฒ๐˜๐—ต๐—ผ๐—ฑ splits a string into an array of strings. It takes an argument for the delimiter, which can be a character to use to break up the string or a regular expression.
#100DaysOfCode
๐Ÿ”ŸThe ๐—ท๐—ผ๐—ถ๐—ป() ๐—บ๐—ฒ๐˜๐—ต๐—ผ๐—ฑ is used to join the elements of an array together to create a string. It takes an argument for the delimiter that is used to separate the array elements in the string.
#100DaysOfCode
Thank you for your time, I hope you found it useful.โค

If you enjoyed this thread and want to accompany me during this 100 days journey, you can follow me at ๐Ÿ˜
@Aakash_Rao_02
You can follow @Aakash_Rao_02.
Tip: mention @twtextapp on a Twitter thread with the keyword โ€œunrollโ€ to get a link to it.

Latest Threads Unrolled: