realNiceFunction(coolParam, otherParam)

Completes a basic function routine by console.logging otherParam 'coolParam' number of times


This function is a basic function that takes in two parameters. The first parameter is an integer and the second parameter is a string. It logs the second parameter 'otherParam' 'coolParam' number of times. It is a basic function routine that is used to demonstrate the use of functions in JavaScript.


Parameters


coolParam: integer

This parameter controls how many times otherParam will be logged to the console.

otherParam: string

This parameter controls what text/string will be logged to the console.

Example Usage



realNiceFunction(5, "Hello World");


Returns



Hello World, Hello World, Hello World, Hello World, Hello World


Overall


This function can be used when you have installed our 'project' package in 'package-installer'.