Monday, August 19, 2019

6 Ways to create a JavaScript object

Table of contents Object literal notationThe "new()" keywordThe Object.create(...) methodConstructor functionThe object.assign(...) methodThe JSON.parse(JSON.stringify(object)) method Object literal notation

How to Replace All White Spaces from a String Using JavaScript?

We will learn to understand how to replace all white spaces using JavaScript? There are several ways in which you can replace all white space using JavaScript.For all the...

JavaScript Timing Events

JavaScript can be executed in time-intervals. This is called timing events. We may decide to execute a function not right now, but at a certain time...

What Does JavaScript hasOwnProperty() Method Do?

We are going to explore JavaScript’s hasOwnProperty() method in this article. hasOwnProperty() method checks whether the property on an object belongs to the mentioned object or not. If the property belongs...

JavaScript Trim String with String.prototype.trim() Method

JavaScript Trim string with String.prototype.trim() Method – Today I am going to teach you how you can trim a string using JavaScript. JavaScript offers a trim() method which helps you remove the white space...

JavaScript Add to Array Example with Array.Prototype.Push() Method

Javascript Add to Array Example with Array.Prototype.Push() method is an essential topic for any JS programmer. JavaScript’s offers push() method; it includes a new item into the array and returns a new...

Everything You Need to Know About Date in JavaScript

Date is weird in JavaScript. It gets on our nerves so much that we reach for libraries (like Date-fns and Moment) the moment (ha!) we need to work with date and time.

Writing better AJAX

A guide towards writing better AJAX calls in jQuery For awhile, the standard way of making an AJAX call using jQuery is rather simple —...
Web design software

The Thinking Behind Simplifying Event Handlers

Events are used to respond when a user clicks somewhere, focuses on a link with their keyboard, and changes the text in a form. When I first started learning JavaScript,...

JavaScript Fundamentals: Mastering Classes

JavaScript classes we’re introduced with ECMAScript 2015, they’re often described as syntactical sugar over JavaScript’s existing structure of prototypical inheritance. So while classes do not introduce a new inheritance model to JavaScript —...

IONIC

Pros and Cons Of Developing Hybrid Apps With Ionic Framework

Development of mobile applications has seen a massive boost since the inception of smartphones. Today, every one of us uses smartphones for...

HOT NEWS