What method would you use to create a string from array elements and separate those elements with a hyphen?
A. shift()
B. join()
C. concat()
D. strjoin()
Answer:B
What method would you use to create a string from array elements and separate those elements with a hyphen?
A. shift() B. join() C. concat() D. strjoin()