Merge pull request #4723 from dcsmith926/staging
use of ".map()" should be ".forEach()"
This commit is contained in:
@ -239,7 +239,7 @@
|
||||
"",
|
||||
" var html = \"\";",
|
||||
"",
|
||||
" json.map(function(val) {",
|
||||
" json.forEach(function(val) {",
|
||||
"",
|
||||
" html += \"<div class = 'cat'>\";",
|
||||
"",
|
||||
@ -310,7 +310,7 @@
|
||||
" ",
|
||||
" // Only change code above this line.",
|
||||
"",
|
||||
" json.map(function(val){",
|
||||
" json.forEach(function(val) {",
|
||||
"",
|
||||
" html += \"<div class = 'cat'>\"",
|
||||
"",
|
||||
|
Reference in New Issue
Block a user