make example work in Chrome
This commit is contained in:
parent
0f4f263441
commit
cb7e9b668a
1 changed files with 3 additions and 3 deletions
|
|
@ -144,9 +144,9 @@ var users = m.request({method: "GET", url: "/user"})
|
|||
return users.concat({name: "Jane"})
|
||||
})
|
||||
|
||||
function log(load) {
|
||||
console.log(load)
|
||||
return load
|
||||
function log(value) {
|
||||
console.log(value)
|
||||
return value
|
||||
}
|
||||
|
||||
//assuming the response contains the following data: `[{name: "John"}, {name: "Mary"}]`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue