I am not sure it is a good thing, but my past is kind of haunting me.
WAY BACK WHEN..... var was used to declare variables used in function node.
This has made way to let.
So I a thought I would go through and search for any instances of var used.
I already understand that var is not a good idea but var IS better as it is used at the start of lines and would then have the variable name AFTER it.
So the trailing space would help in the search.
OR SO I THOUGHT! (Dramatic music)
It doesn't (or doesn't seem to.)
It finds ANY time I use the letters var and somehow ignores the trailing space.
Is there a way I can better search for times I use var rather than let?
For the sake of it: examples:
(Yes, screen shots)
And before you mention:
I checked that function node.
NO there are no uses of var in it.
It is because of the word variable.
![]()
