« first day (4902 days earlier)      last day (51 days later) » 

1:22 AM
a little late night sunday coding music youtube.com/watch?v=XmttZ-BnwaI
"The taste of death is upon my lips… I feel something, that is not of this earth"
- Wolfgang Amadeus Mozart 5 December 1791 - 5/12/1791
 
 
21 hours later…
10:13 PM
 
11:00 PM
Howdy! I have a quick, maybe dumb question; does javascript have any more concise way to write this kind of statement:
 
@Tablesalt Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
if (node) {node.next = nextNode}
I feel like there's some more concise way to write it, because JS seems full of those, but node?.next = nextNode isn't valid, and neither is something like node ? node.next = nextNode.
 
@Tablesalt node && (node.next = nextNode)
 
@ParkingMaster Thank you! I tried that before but didn't use parens, that makes perfect sense!
 
No problem! I use it a lot, it saves a lot of space too.
 
11:55 PM
shut up haha
||> console.log(["πŸ‘¨", "‍", "πŸ‘©", "‍", "πŸ‘§", "‍", "πŸ‘¦"].join(''))
 
@mattrichards undefined Logged: [ '"πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦"' ] Took: 0ms
 

« first day (4902 days earlier)      last day (51 days later) »