Home » JavaScript TypedArray join() Method

JavaScript TypedArray join() Method

by Online Tutorials Library

JavaScript TypedArray join() Method

The JavaScript join() method is used to join all elements of an Array into a string. The elements will separated by a specified separator. The default separator is comma(,).

Syntax:

Parameters:

It is optional, it can be either used as a parameter or not its default value is (,).

Return value:

It returns the String which contain the collection of array’s elements.

Browser Support:

Chrome 1.0
Edge Yes
Firefox 1.0
Opera Yes

Example

JavaScript TypedArray join() Method

Test it Now

Output:

Core java,C  Core java.C  Core java-C  

You may also like