The concept of hoisting in JavaScript

The concept of hoisting in JavaScript

Behind the Scenes, you will see that JavaScript always takes all the declarations first. That’s basically the hosting. Since this is the default behavior in JavaScript. In this article, I will discuss only the hosting specific. Since hosting is the default behavior, all functions in JavaScript are hosted in the Creation phase. That’s why we can actually call…Continue reading The concept of hoisting in JavaScript

জাভাস্ক্রিপ্ট – var, let, const

ES6 পড়ুন (এটি ECMAScript 2015 নামেও পরিচিত) জাভাস্ক্রিপ্টের সিনট্যাক্সের চেয়ে বড় পরিবর্তন হয়েছে এবং জেএসে নতুন বৈশিষ্ট্য নিয়ে আঁচছে যা এর আগে ছিল না… ES6 শিখতে গুরুত্বপূর্ণ কারণ এর একটি কারণ হ’ল এটি জাভাস্ক্রিপ্টকে আরও ভাল লেখা এবং সহজ করে তোলে এবং একই সাথে আজকের আধুনিক ওয়েব প্রযুক্তির সাথে রিঅ্যাক্ট, নোড.জেস এবং আরও অনেকগুলি ব্যবহার করা হচ্ছে । এই…Continue reading জাভাস্ক্রিপ্ট – var, let, const

Filter

The filter is the same as the map, but if the function applied here returns true, then it will move to the new array, or if the function returns false then that item will not be in the array. Suppose I want to extract only the odd numbers from the following array and place them…Continue reading Filter

Javascript ES6 – Map

Javascript’s ES6 has nothing quite new in our eyes without syntax differences, or syntactic sugar. But this time we will discuss something completely new. Yes this thing has been added to ES6 completely new. It never existed in any previous version of JavaScript. That’s the map Map. Do not mistake this map Mapas a map map. The reason mapis a method. But the map we Mapwill talk…Continue reading Javascript ES6 – Map

টাইপস্ক্রিপ্ট এসেরশন(Assertion)

টাইপস্ক্রিপ্ট এসেরশন(Assertion)  এক্সাম্পল: টাইপ এসেরশন let code: any = 123;  let employeeCode = <number> code;  console.log(typeof(employeeCode)); //Output: number উদাহরণ: অবজেক্ট সহ এসেরশন টাইপ let employee = { }; employee.name = “John”; //Compiler Error: Property ‘name’ does not exist on type ‘{}’ employee.code = 123; //Compiler Error: Property ‘code’ does not exist on type ‘{}’ উপরের…Continue reading টাইপস্ক্রিপ্ট এসেরশন(Assertion)

টাইপস্ক্রিপ্টে ডেটার প্রকারভেদ

টাইপস্ক্রিপ্টে ডেটার প্রকারভেদ যখনই কোনও ভেরিয়েবল তৈরি করা হয় তখন সেই ভেরিয়েবলের জন্য কিছু মান নির্ধারণের উদ্দেশ্য হয় কিন্তু সেই ভেরিয়েবলের জন্য কী ধরণের মান নির্ধারণ করা যায় তা সেই ভেরিয়েবলের ডেটাটাইপের উপর নির্ভর করে। টাইপস্ক্রিপ্টে, টাইপ সিস্টেম বিভিন্ন ধরণের ডেটাটাইপগুলি উপস্থাপন করে যা টাইপস্ক্রিপ্ট দ্বারা সমর্থিত। বিল্ট-ইন ডাটা টাইপ : Number –  এটি পূর্ণসংখ্যার…Continue reading টাইপস্ক্রিপ্টে ডেটার প্রকারভেদ