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
Tag: javascript
Behind the Scene in JavaScript
If you understand how Code Behind works in the scene, you can write code at your convenience anyway. In this episode of mine today, I will discuss as much detail as possible about how JavaScript works within the scene. JavaScript is usually run in an environment. Often it may be our most widely used browser, or another…Continue reading Behind the Scene in JavaScript
JavaScript: async and await
If the arrow function is: This is how you can identify asynchronous code in your function. This time you have to identify the original asynchronous codes one by one and tell Javascript that this is my promise that it cannot go to the next instruction until it is solved. Before that we will need a promiss, right? Yes,…Continue reading JavaScript: async and await
Promise in JavaScript
Creating a Promise: The task of the Promise is to handle such asynchronous operations. Now we are running the operation on a remote server, but until data arrives we cannot say that operation will not succeed or fail. And basically, the promise works to handle these. In most cases, we do not have to create our own promises. We…Continue reading Promise 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 টাইপস্ক্রিপ্টে ডেটার প্রকারভেদ
Day 1 – Basic Functioning
# what and why ? Framework to build client side application Great for SPAs # Why Modular approach Re-usable code Development quicker and easier (like validation, routing) Unit testable and easily maintainable code Google + Microsoft product (Angular + Typescript) # Angular’s History 2010 – AngularJS 2016 – Angular version 2. Just called Angular 2016…Continue reading Day 1 – Basic Functioning