Message from JavaScript discussions

June 2019

— Coz parseInt has two parameters

— 

I guess it's considering 1 and 11 as binary hence converting to 1 and 3 while 7 is not in binary hence NaN

— Radix is between 2 and 36

— Https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt

— Elaborate please

— I still didn't got you

— U can write in this way
['1','7','11'].map((item,index,array)=>{
return parseInt(item,index)
})

— So u see , the index is Variable

— parseInt('1',0)
parseInt('7',1)
parseInt('11',2)

— Ohh

— Making the obvious code fast ~

https://jackmott.github.io/programming/2016/07/22/making-obvious-fast.html

Message permanent page

— Ok am working on a platform like Uber and Netflix wondering which stack would be best