what is scope of var in js. There are any references about what is scope of var in js in here. you can look below.