Learn java
Java is among the most popular programming languages used worldwise. Our quality java tutorial will help you learn it in easy way.
Learn java and Python with top notch quality content. Hit Start Learning button to get started
Java is among the most popular programming languages used worldwise. Our quality java tutorial will help you learn it in easy way.
Learn data structure and algorithm with 100+ programming questions.
Spring is an open source framework created to address the complexity of enterprise application development. Learn Spring with step by step tutorials.
Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can “just run”. Learn Spring boot with step by step tutorials.
Are you preparing for interview? Our quality interview questions will help you ace programming interview.
Python is an interpreted, high-level and general-purpose programming language. Learn Python with quality tutorials.
TypeError: .replace is not a function occurs when we call replace() function on object which is not an string. replace() function can be only called on string. To resolve this issue, convert value to string using toString() ,method before calling replace() method. Let’s see with help of simple example where we want to remove . […]
In this post, we will see how to unpack array in JavaScript. Ways to Unpack array in JavaScript There are multiple ways to do it. Let’s go through them. Using Destructuring Syntax To Unpack array in Javascript into separate variable: Use destructuring assignment to unpack array in separate variable. Let’s see with the help of […]
In this post, we will see how to convert Convert epoch time to Date Javascript. There are multiple ways to do it. Let’s go through them. Using Date’s setUTCSeconds() To convert epoch time to Date in Javascript: Create Date object by passing 0 in its constructor. When you pass 0 to Date’s constructor, it will […]
In this post, we will see how to clear array in Typescript. There are multiple ways to do it. Let’s go through them. By setting array’s length to 0 To clear array in TypeScript: Set length of array to 0. When length property is changed, all the elements that have index larger than its length […]
Problem : TypeError: Assignment to constant variable TypeError: Assignment to constant variable in JavaScript occurs when we try to reassign value to const variable. If we have declared variable with const, it can’t be reassigned. Let’s see with the help of simple example. [crayon-628a073370fbb041084582/] Output [crayon-628a073370fc4777521804/] Solution : TypeError: Assignment to constant variable Rename the […]
Syntaxerror: invalid shorthand property initializer error comes when we use equals operator rather than colon to separate key-values(properties) in object. To resolve this issue, we need to use colon(:) rather than equals operator(=) between key and values of an object Let’s see with the help of example: [crayon-628a073371493328502223/] Notice that we have used = between […]