How do we differentiate between ‘null’ and ‘undefined’, in JavaScript? what do ‘undefined’ and ‘null’ have in common? Read on to understand.
Comments closedCategory: JavaScript
JavaScript has dynamic types, hence a single variable can be used as different types. There are 7 native types in JavaScript.
Comments closedHow does the inheritance work in JavaScript? Is there multiple inheritance support in JavaScript? JavaScript inheritance explained in simple terms.
Inheritance is one of the OOP features in the JavaScript. JavaScript utilizes the built-in prototype property to get the inheritance implemented. JavaScript allows us to associate a prototypical object with any constructor function.
One of the easiest ways of defining an Object is using a constructor function. Object Constructor function helps to create different instances of an object using the same function.
Comments closedThis article shows how to combine two objects into a single object. One of the simplest ways to combine multiple js objects into single object.
Comments closedThis tutorials briefs about how to check multiple conditions in single case in JavaScript switch statement.
Comments closedThere are many javaScript engines currently available. Different browsers use different javaScript engines. Script performance on browsers depend on the javaScript engine used in the browser.
Comments closedThis article shows how to send and return values using the modal dialog. We learn how to send an array object information to the modal dialog and return an Object back to the parent window.
Comments closedAdd new items to array – JavaScript
This article shows how to add new items to an array. To add new items to an array, you need to use .push() method. The push() method adds new elements to the end of an array. Below is the syntax to use .push() method.
Comments closedThe following function will return the last date of the month. This function is very much useful while calculating the last date of a particular month. The arguments passed into the function should be number.
Comments closed