Bug 1020549: Replace 'let' with 'var'.
Merge pull request #20030 from kamituel/Bug_1020549_invalid_use_of_let

Bug 1020549: Replace 'let' with 'var'.