Programming Tutorials

Latest

 thumbnail

How to use enums in JavaScript

September 12, 2020

Enums are used to represent a number of fixed values that can be evaluated. Unfortunately, there is no native JavaScript...

 thumbnail

How to Merge Strings or Arrays in JavaScript Using the concat() Method

September 09, 2020

JavaScript has a built-in method for merging strings or arrays together called concat(). It allows you to take an array,...

 thumbnail

How to Use Ternary Operators in JavaScript

September 09, 2020

Ternary operators in JavaScript are used to make conditional statements and work like regular if else statements. The ma...

 thumbnail

How to use AND, NOT and OR Logical Operators in JavaScript

September 08, 2020

In JavaScript, we can evaluate the results from multiple comparison statements using the AND, NOT and OR logical operato...

 thumbnail

How to Round Decimals Up and Down in JavaScript

September 08, 2020

When working with numbers in JavaScript it is common to encounter decimals that need to be rounded to integers. Fortunat...

 thumbnail

How to Use For Loops in Python

September 02, 2020