Computer Science, asked by Afreen4364, 1 year ago

What is the usage of join() method in JavaScript?

Answers

Answered by khushi769
0

Tʜᴇ ᴀʀʀᴀʏ.ᴊᴏɪɴ() ᴍᴇᴛʜᴏᴅ ɪs ᴀɴ ɪɴʙᴜɪʟᴛ ғᴜɴᴄᴛɪᴏɴ ɪɴ JᴀᴠᴀSᴄʀɪᴘᴛ ᴡʜɪᴄʜ ɪs ᴜsᴇᴅ ᴛᴏ ᴊᴏɪɴ ᴛʜᴇ ᴇʟᴇᴍᴇɴᴛs ᴏғ ᴀɴ ᴀʀʀᴀʏ ɪɴᴛᴏ ᴀ sᴛʀɪɴɢ.Tʜᴇ ᴇʟᴇᴍᴇɴᴛs ᴏғ ᴛʜᴇ sᴛʀɪɴɢ ᴡɪʟʟ ʙᴇ sᴇᴘᴀʀᴀᴛᴇᴅ ʙʏ ᴀ sᴘᴇᴄɪғɪᴇᴅ sᴇᴘᴀʀᴀᴛᴏʀ ᴀɴᴅ ɪᴛs ᴅᴇғᴀᴜʟᴛ ᴠᴀʟᴜᴇ ɪs ᴄᴏᴍᴍᴀ(, ).

Similar questions