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

Short div(Element) by jQuery

 

person shubham sharmaaccess_time November 18, 2017launch Read More

jQuery: Select to JSON

 

person shubham sharmaaccess_time September 29, 2017launch Read More

Add/Remove Input Fields Dynamically with jQuery

If you are looking to add and remove duplicate input fields, here’s another jQuery example below to do the task for you. This jQuery snippet adds duplicate input fields dynamically and stops when it reaches maximum. If you read comment lines carefully, the process is pretty straight forward. We start with 1 input field and […]

person shubham sharmaaccess_time June 15, 2017launch Read More