array.length gets the number of items in an array in JavaScript.
Outputs a message to the web console. The message may be a single string, or it may be any one or more JavaScript objects.
Rounds a number up to the next largest integer.
Rounds a number down to the next largest integer less than or equal to the given value.
Returns the value of a number rounded to the nearest integer.
Gets the length of a string a JavaScript.
split() uses a pattern or separator to divide a string into a list of substrings by searching for the pattern or separator.
The trim() removes whitespace from both ends of a string.