Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Console.log does not work with arrays #17

Open
mm765 opened this issue Feb 3, 2016 · 2 comments
Open

Console.log does not work with arrays #17

mm765 opened this issue Feb 3, 2016 · 2 comments

Comments

@mm765
Copy link

mm765 commented Feb 3, 2016

When trying console.log(string1, array, string2) only string1 is printed, the rest gets ignored - and in case i do this within a function that calls res.send() at then end i get an internal server error.

@mschwartz
Copy link
Contributor

Use console.dir({ string1: string1, array: array, string2: string2 })

On Tuesday, February 2, 2016, mm765 [email protected] wrote:

When trying console.log(string1, array, string2) only string1 is printed,
the rest gets ignored - and in case i do this within a function that calls
res.send() at then end i get an internal server error.


Reply to this email directly or view it on GitHub
#17.

@mm765
Copy link
Author

mm765 commented Feb 3, 2016

Ok, that works, thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants