Forum Discussion
AlexKaras
Champion Level 3
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.
chelly320
3 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.
Related Content
- 4 years ago
- 5 years ago
Recent Discussions
- 3 hours ago
- 6 days ago
- 10 days ago