Results for: "return"

Contents (245)

Strings in JavaScript: What they are and how to use them
Strings in JavaScript: What they are and how to use them

In this tutorial we are going to explain what strings are and how they are used in JavaScript. The tutorial…

read more
Request data with prompt in JavaScript
Request data with prompt in JavaScript

After having published several articles about how to manipulate arrays and dates, today I will publish a post that some…

read more
What are React Hooks and what problems they solve
What are React Hooks and what problems they solve

Working with React, - and before the release of Hooks in version 16.8 -  there was always the possibility to create…

read more
Flattening arrays in JavaScript
Flattening arrays in JavaScript

When we are handling arrays that are arrays or have multiple dimensions it can be very useful to know how…

read more
How to populate an array with random numbers in JavaScript
How to populate an array with random numbers in JavaScript

Some of you might think that what we explained in the article on how to populate an array with numbers,…

read more