Forum Discussion
AlexKaras
4 years agoCommunity Hero
Hi,
Have you just typed them in separate lines in the editor?
If yes, than some combinations just result in valid code expressions and thus are highlighted appropriately.
For example:
var
let
is a valid declaration of a variable named 'let'. Thus var is highlighted as a keyword and let is highlighted as a regular variable.
- chelly3204 years agoNew Contributor
Hi Alex,
Here is some code that I have:
const fileDriver = DDT.ExcelDriver(filePath, sheetName);
fileDriver.Name = "enterNewMember";
while(!fileDriver.EOF())
{
let LineOfBusiness = fileDriver.Value("Line of Business");In the above example, the "const", and "while" are highlighted as JavaScript reserved words but "let" is not.