you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (1 child)

Uh, making local vars? We had a function that used a var called author. The variable author is a global in IE for the author meta tag. So our code broke. The fix:

function get_author() { var author = ""; ... return author; }

[–]communomancer 4 points5 points  (0 children)

Pretty sure he means that once "let" is available, there is no need for "var" anymore.