On 18/11/2021 12.12, sebb wrote:
On Wed, 17 Nov 2021 at 17:47, sebb wrote:
On Wed, 17 Nov 2021 at 17:20, Daniel Gruno wrote:
On 17/11/2021 12.26, sebb wrote:
There are lots of places where the Javascript code uses var when it
should be using let (or const?)
Is there any reason to keep the
On Wed, 17 Nov 2021 at 17:47, sebb wrote:
>
> On Wed, 17 Nov 2021 at 17:20, Daniel Gruno wrote:
> >
> > On 17/11/2021 12.26, sebb wrote:
> > > There are lots of places where the Javascript code uses var when it
> > > should be using let (or const?)
> > >
> > > Is there any reason to keep the var
On Wed, 17 Nov 2021 at 17:20, Daniel Gruno wrote:
>
> On 17/11/2021 12.26, sebb wrote:
> > There are lots of places where the Javascript code uses var when it
> > should be using let (or const?)
> >
> > Is there any reason to keep the var type for local variables?
> >
> > I think it would make it
On 17/11/2021 12.26, sebb wrote:
There are lots of places where the Javascript code uses var when it
should be using let (or const?)
Is there any reason to keep the var type for local variables?
I think it would make it easier to find errors if variables were
scoped as tightly as possible.
Also
There are lots of places where the Javascript code uses var when it
should be using let (or const?)
Is there any reason to keep the var type for local variables?
I think it would make it easier to find errors if variables were
scoped as tightly as possible.
Also for const to be used where possibl