Message from JavaScript discussions

September 2020

— Bruh how do i sum two numbers in javascript please my teacher needs me to do it

— 

Got a discussion about arrays recently, imagine what will +++ operator do if you have operator ++ that does a concatenation of two arrays? (like a ++ b ===> a.concat(b) )

— =============>

— Welcome to the party, Koda_Koda! Please review the jspartyrules and the pinned message

— It'd be great if every + just stands for 1 item of the two arrays separately
Concating arrays with 6 indexes would therefore be ++++++ 👌

Message permanent page

— When you use ... why not the same logic you follow

— Dem, Limited spreading, let's open it 🤓
Still I'd want float destructuring first :(

— So const [a, b] = 1.2; console.log(a, b); should return 1 2 or 1 0.2?

— Const a.b = 1.2

It was some of the top 5 troll things in some dev.to blog

— Numbers are not iterable

— That works for strings:

const [a, b] = 'hello'
>> a = 'h'
>> b = 'e'

— This is why numbers can't be variables :)