JavaScript The Event Loop

JavaScript is single threaded. so it needs event loop to run asynchronous (Multi Thread) code. JavaScript first runs synchronous code, then it queue asynchronous code to call later. Asynchronous code is called/executed by event loop. System/Browser takes synchronous code and put them as tasks. then these tasks are put them into queue. The Event Loop […]

person shubham sharmaaccess_time March 26, 2022launch Read More

React-Native key questions

JavaScript Related Questions Hoisting in JavaScript Var, let and const Temporal dead zone lexical scope Higher-Order Functions Functions that operate on other functions, either by taking them as arguments or by returning them, are called higher-order functions Shallow copy and Deep copy Difference B/W These functions Function Expression Function Declaration Function Statement Anonymous Function Named […]

person shubham sharmaaccess_time February 6, 2022launch Read More