.join(characters)

# .join(characters)

Description

Join is a method that joins an array with a value

Parameters

Join takes the value to join the array with as a parameter.

Usage On Arrays

arr = ["wow","hello","world"]
// setup the array

log arr.join("!")
// returns "wow!hello!world"
// the array was joined with "!"

Last updated

Was this helpful?