Declaring a var readonly and assigning at the same time suffers the same issue as local vars.