May 10, 2021All about JavaScript Prototype.. Evolution of new, this and class keyword in JavaScript….JavaScript is a prototype based language. Another way JavaScript is a functional programming language and function is itself an object. The thing that I am trying to clear is, you can not think almost anything in JavaScript without object. Prototype concept is related to JavaScript Object. …Java Script4 min read
May 8, 2021Some interview questions of JavaScriptTruthy and Falsy Values: I have explained about in about my another article. Please visit Some Basics Of JavaScript . Null vs Undefined : In JavaScript null means value is nothing , “undefined” is a value that is assigned to a variable when it is declared in the creation or…Java Script4 min read
May 5, 2021Some basics of JavaScript..Let, const, var let, const are block (something enclosed by carlibresses) scope but var is function scope. var can be redefined and reassigned in functional scope. On the other hand, ‘let' can’t be redefined but changed in the block scope. ‘const' can’t be redefined and also cann’t be reassigned. 2. Hoisting: Hoisting…Java Script7 min read
May 5, 2021JavaScript Event LoopDuring the code execution if there is any asynchronous function in the stack, javascript doesn’t execute that function instantly rather it assigns the task to WEB API (In case of Browser), C++ API (Node Js) and do the execution of next task in the call stack. When the WEB API…Javascript Event Loop1 min read
May 5, 2021How java script code runs?To answer this question first we need to remember that the way people communicate with each other by some specific language, computer has also its specific way of communication by a language that is called machine language. When we write any code and in the execution time when the browser…Java Script4 min read
May 4, 2021JavaScript String MethodscharAt(): This method is used to find out any character of a string at a individual position like if I use ‘rahim’.charAt(1), this will return “r” as value concat(): This method does nothing but addition of string. Example : ‘rahin’.concat(“,” , ”karim”) and the output will be, “rahim, karim” endsWith()…Array Methods2 min read
May 4, 2021Some Basic Concepts of React1. What is React? Ans: React is a JavaScript library created by Facebook for building user interfaces to make single page applications. React helps one to create reusable user interface components. 2. How does React Work? Ans: In memory, React builds a VIRTUAL DOM. Instead of explicitly modifying the browser’s…Reactjs4 min read