50.Javascript Exercise solution- Filter | javascript bangla tutorial for beginners

preview_player
Показать описание
In this lesson, we will solve Exercise using array helper method Filter and In this whole series javascript bangla tutorial for beginners we will cover the following topics
============================================================
what is Jvascript?
Javascript vs ECMAScript
concept of variable
Javascript data type-primitive and complex data type(object)
Javascript template string
let vs const
Javascript data structure-array
Javascript data structure-object
Javascript Function
Javascript Function Default parameter
Javascript Array and object in practice
Javascript Function vs method
Javascript loop-For Foreach, while loop
Javascript loop in practice
Javascript operator
== vs ===
Javascript logic and conditionals
Javascript Ternary operator
Javascript type coercion
Javascript truthy and falsy value
Javascript switch statement
Javascript switch statement in practice
Javascript conditionals-if else if
Higher-order function, callback function
String properties and methods
Javascript filter
javascript array helper method
javascript array helper

official Facebook group
===================================================

Join our Premium course
====================================================

Javascript ES6 tutorial (complete series)
====================================================

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

if you are confused, Let me give some hint
true && ''string" result will be "string"

javascript-ninja
Автор

please make a video about Regular Expression.

yousufyou
Автор

Awesome, vaiya total kotota video thakbe akhane, please jodi janaten

joynulabedin
Автор

Hi,
Could anyone help me with this?
I have array like this-
myArr = ['I', 'Love', 'progrmoming']
I have to find a word with 2 'm'. How should I approach it? Which Array Method should I use to find the number of m.

intisher
Автор

শুধু includes মেথডটার কথা মনে না থাকার কারনে এত বড় করে প্রোগ্রামটা করা লাগছে। :-(


(function () {
const arrayList = ["I", "Love", "Programming"];

const newArrayList = arrayList.filter(function (element) {
let counter = 0;
for (let char of element) {
if (char == "m") {
counter++;
if (counter == 2) {
return element;
}
}
}
})
console.log(newArrayList);
}())

sunilchandrakarmakar