0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

forEach 第二引数  }, list); のやつ

Last updated at Posted at 2022-05-25

foreachの第二引数とは、と調べたら良いのを見つけたので張っておく。

let array = ['東京','大阪','仙台','名古屋'];
array.forEach(function(value) {
console.log(value + 'のローマ字表記は'+ this[value] +'です');
},list);

0
0
1

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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?