make example work in Chrome

This commit is contained in:
Leo Horie 2014-06-04 08:30:26 -04:00
parent 0f4f263441
commit cb7e9b668a

View file

@ -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"}]`