Some Basic tricks to solve problem-solving in JavaScript

Ashik Mahmud
Nov 7, 2020

Each software engineer is a significant assignment is to tackle critical thinking. Critical thinking constructs solid rationale of a developer to compose code or programming advancement. Here I will examine a few subjects of critical thinking.

Inch to Feet

Assume you need to change inch over to feet. For this situation, you will do isolated the inch by 12. Yet, a javascript designer can change over it utilizing code without any problem.

Leap Year Find

We realize that at regular intervals later the long stretch of February is a jump year. In the event that we need to discover the jump year utilizing physically, it is exceptionally hard for us. However, in javascript, a developer can discover it without any problem.

Factorial

Factorial is very important for a programmer. Factorial is mainly used in Combinations and Permutation.

Fibonacci Series

Prime Number

A prime number is a characteristic number more noteworthy than 1 that isn’t a result of two more modest normal numbers. A characteristic number more prominent than 1 that isn’t prime is known as a composite number.

Random Number Picker

An arbitrary number is a number perused a pool of confined or endless numbers that has no perceptible model for desire. The pool of numbers is regularly self-governing from each other. Nevertheless, the pool of numbers may follow a specific course.

--

--