MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/b2o6f2/whats_your_favorite_most_useful_javascript/eiv057z
r/javascript • u/Linux_is_awesome • Mar 18 '19
422 comments sorted by
View all comments
Show parent comments
14
just copy(yo) ;)
copy(yo)
(in Chrome DevTools)
2 u/thisguyfightsyourmom Mar 19 '19 You’re telling me I’ve learned what the second arg in console.log for nothing?!It’s nice for inspecting objects (readably) in test suites too—quick,… someone tell me the smarter way to do that too 2 u/Oririner Mar 19 '19 It sounds like you're not debugging the test suites in Chrome DevTools.you should do that instead ;) just add --inspect-brk when running the node process and follow the instructions. 1 u/thisguyfightsyourmom Mar 20 '19 Ooo, thanks!
2
You’re telling me I’ve learned what the second arg in console.log for nothing?!
It’s nice for inspecting objects (readably) in test suites too—quick,… someone tell me the smarter way to do that too
2 u/Oririner Mar 19 '19 It sounds like you're not debugging the test suites in Chrome DevTools.you should do that instead ;) just add --inspect-brk when running the node process and follow the instructions. 1 u/thisguyfightsyourmom Mar 20 '19 Ooo, thanks!
It sounds like you're not debugging the test suites in Chrome DevTools.
you should do that instead ;) just add --inspect-brk when running the node process and follow the instructions.
--inspect-brk
1 u/thisguyfightsyourmom Mar 20 '19 Ooo, thanks!
1
Ooo, thanks!
14
u/Oririner Mar 19 '19
just
copy(yo);)(in Chrome DevTools)