I would like to represent you some useful Javascript helper functions for manipulating data.

.forEach()

forEach() calls a provided callback function once for each element in an array in ascending order.

Syntax:

arr.forEach(callback(currentValue[, index[, array]]) {
// execute something
}[, thisArg]);

Example:

forEach() function

.filter()

flter() creates a new array with all elements that…

The javascript console functions are very useful to display data in the console. Every javascript developer need to know them. They allow you to debug Javascript code and solve problems with your code.

Time() & TimeEnd()

Starts and stops a time. That helps you to know how much time a function take to execute.

Error()

Outputs an error message to the console.

Meriem

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store