What is the usage of join() method in JavaScript?
Answers
Answered by
0
Tʜᴇ ᴀʀʀᴀʏ.ᴊᴏɪɴ() ᴍᴇᴛʜᴏᴅ ɪs ᴀɴ ɪɴʙᴜɪʟᴛ ғᴜɴᴄᴛɪᴏɴ ɪɴ JᴀᴠᴀSᴄʀɪᴘᴛ ᴡʜɪᴄʜ ɪs ᴜsᴇᴅ ᴛᴏ ᴊᴏɪɴ ᴛʜᴇ ᴇʟᴇᴍᴇɴᴛs ᴏғ ᴀɴ ᴀʀʀᴀʏ ɪɴᴛᴏ ᴀ sᴛʀɪɴɢ.Tʜᴇ ᴇʟᴇᴍᴇɴᴛs ᴏғ ᴛʜᴇ sᴛʀɪɴɢ ᴡɪʟʟ ʙᴇ sᴇᴘᴀʀᴀᴛᴇᴅ ʙʏ ᴀ sᴘᴇᴄɪғɪᴇᴅ sᴇᴘᴀʀᴀᴛᴏʀ ᴀɴᴅ ɪᴛs ᴅᴇғᴀᴜʟᴛ ᴠᴀʟᴜᴇ ɪs ᴄᴏᴍᴍᴀ(, ).
Similar questions