Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
How can I print multiple arrays on separate lines using same console.log?
Yotam Salmon
Programming language:
Whatever
2021-06-19 18:12:22
0
Q:
How can I print multiple arrays on separate lines using same console.log?
Ali
Code:
Whatever
2021-07-06 01:23:06
var a = [2, 4]; var b = [5, 6]; console.log('',a,'\n',b)
0
Tags
line
array
using
multiple
int
con
how
log
print
Related
write a function that takes in 2 arrays , merges them together an then return the new array sorted
sosl find multiple text
spannable string for multiple places same string
New to Communities?
Join the community