Algorithms

Algorithms

Views: 0

Preventing Data From Mutation with Freeze Method (javascript mutation)

In JavaScript, we declare variables with CONST when we want to protect it from mutation. But CONST declaration alone is not enough to...

Read More

Algorithms

Views: 0

Easy Way of Finding Max Element of an Array

Until 2015 we need apply method to apply Math.max function to all elements of an array. ES6 destructing feature, announced at 2015, gives...

Read More

Algorithms

Views: 1

Finding Factorial of a Number with JavaScript

First of all we must understand the meaning of factorial: The factorial function multiply all numbers from our chosen number down to 1....

Read More
Close