It's 2019, it's not a good time to compare var and let/const.
What if to compare let, const and Readonly from TS/Flow?
constconstVariable:Record<string,any>={};constVariable.b="is it const?";constreallyConstVariable:Readonly<Record<string,any>>={};reallyConstVariable.b="is it const?";
It's 2019, it's not a good time to compare
var
andlet
/const
.What if to compare
let
,const
andReadonly
from TS/Flow?I'll be sure to ask your permission next time I write something.