JAVASCRIPT PROGRAMMING
Відкрити в Telegram
Hello! I am @imabhi3030 and welcome to the Coding channel! Here we can learn all things related to coding and improve our skills. I am always present to help you. If you need any kind of assistance, just let me know! 😊
Показати більшеКраїна не вказанаТехнології та додатки23 271
3 637
Підписники
-124 години
-67 днів
-1730 днів
Архів дописів
CHALLENGE
function createCounter() {
let count = 0;
return {
increment: () => ++count,
decrement: () => --count,
get: () => count
};
}
const counter1 = createCounter();
const counter2 = createCounter();
counter1.increment();
counter1.increment();
counter2.increment();
console.log(counter1.get(), counter2.get());
const { increment, get } = counter1;
increment();
console.log(get());28 жовт 2025, 00:16
+8
🔰 DOM Manipulation
For DOM manipulation, we use JavaScript to access, modify, or create these elements, making our web pages come alive without the need to reload them.In this post we are going to look at: Create Elements Insert an elements Modifying Contents Replacing Elements Remove Elements Updating Element Attributes DOM manipulation empowers developers to create dynamic and interactive web experiences.
Mastering methods like inserting, removing, replacing elements, updating attributes enables seamless user interactions.
26 жовт 2025, 07:56
This message couldn't be displayed on your device due to copyright infringement.
25 жовт 2025, 19:19
Subscribe our channel for coding, design, programming, Coreldraw, Excel, termux hacking, python animation, and more
Subscribe please -
👉✅ https://youtube.com/@CODEBOMBS
22 січ 2024, 11:28
NOTE - Alpha delta and supreme batch course are include in this channel
Free for all 😁feel free to ask @imabhi3030
Javascript full course - https://t.me/Javascript_Course_js
full stack web devloper course - https://t.me/web_devloper_bro
Ethical hacking full course - https://t.me/Ethical_hackings_course
Reacts & nodejs full course - https://t.me/Reacts_Course
Linux full course - https://t.me/Linux_Courses
Python devloper full course - https://t.me/Python_Devloper
Machine learning & ai course - https://t.me/Machine_learnings_Ai
Android apps devloper full course - https://t.me/Mobile_Apps_devlopment
JOIN ALL IMPORTANT COURSE - 👉🏻 https://t.me/addlist/c3QWwWR-Iw4xMDNl
10 січ 2024, 01:06
// 20. find()
let arrFind = [1, 2, 3, 4, 5];
let found = arrFind.find(element => element > 2);
console.log(found); // Output: 307 січ 2024, 06:41
// 19. sort()
let arrSort = [3, 1, 2];
arrSort.sort();
console.log(arrSort); // Output: [1, 2, 3]07 січ 2024, 06:40
// 18. reverse()
let arrReverse = [1, 2, 3];
arrReverse.reverse();
console.log(arrReverse); // Output: [3, 2, 1]07 січ 2024, 06:40
// 17. join()
let arrJoin = [1, 2, 3];
let joined = arrJoin.join('-');
console.log(joined); // Output: "1-2-3"07 січ 2024, 06:40
// 16. some()
let arrSome = [1, 2, 3, 4, 5];
let isSome = arrSome.some(element => element > 4);
console.log(isSome); // Output: true07 січ 2024, 06:40
// 15. every()
let arrEvery = [1, 2, 3, 4, 5];
let isEvery = arrEvery.every(element => element > 0);
console.log(isEvery); // Output: true07 січ 2024, 06:40
// 14. reduce()
let arrReduce = [1, 2, 3, 4, 5];
let reduced = arrReduce.reduce((accumulator, currentValue) => accumulator + currentValue);
console.log(reduced); // Output: 1507 січ 2024, 06:40
// 13. filter()
let arrFilter = [1, 2, 3, 4, 5];
let filtered = arrFilter.filter(element => element > 2);
console.log(filtered); // Output: [3, 4, 5]07 січ 2024, 06:40
// 12. map()
let arrMap = [1, 2, 3];
let mapped = arrMap.map(element => element * 2);
console.log(mapped); // Output: [2, 4, 6]07 січ 2024, 06:40
// 11. forEach()
let arrForEach = [1, 2, 3, 4, 5];
arrForEach.forEach(element => {
console.log(element);
});
// Output: 1, 2, 3, 4, 5 (each element on a new line)07 січ 2024, 06:40
// 10. includes()
let arrIncludes = [1, 2, 3, 4, 5];
let included = arrIncludes.includes(3);
console.log(included); // Output: true07 січ 2024, 06:40

