LoginSignup
0

More than 5 years have passed since last update.

.joinってなに?

Posted at
1 / 2

配列に格納されている文字列を、ループで一個ずつ取り出し、文字列に追加するやり方をするんだったら、Array.join("") 使うべき

function join(ary) {
return ary.join("");
}

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0