Message from JavaScript discussions

September 2018

— Https://jsperf.com/bitwise-vs-normal-even-odd

— 

Thrashed this: https://medium.com/rahul.raviprasad/the-little-known-bitwise-operations-and-their-performance-in-javascript-c281d512c757

— Eh, year 2016

— Micro-optimizations become obsolete..

— The explenation for << , >> and >>> really tells me nothing

— I dont get these

— Mybe i should translate these 🕵🏻

— 010 << 1 == 100; 010 >> 1 == 001

— I've never used them in JS.. there is a <<< in livescript which do Object.assign like operation

— Hah, i dont like it. but i enjoy {...} for object.assign

— You mean spread operator? it goes longer way, more to type. in livescript it's: target <<< object

— 

api =
func1: (parameter) ->
return true
<<<
func2: api.func1
func3: api.func2
sometime use it like that, to create copies

Message permanent page