Skip to main content
Participant
September 19, 2023
Question

"let" keyword

  • September 19, 2023
  • 2 replies
  • 315 views

Why is the "let" keyword in JavaScript not being recognized in my Dreamweaver app

 

 

    This topic has been closed for replies.

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    September 19, 2023

    Optionally, you may use another JS code Linter, preferably one that is in active development.

    These are the top three (in no particular order):

     

    Nancy O'Shea— Product User & Community Expert
    Legend
    September 19, 2023

    Because the javascript linter in DW is not being kept up-to-date since the software is only minimally maintained these days. Someone who has a better understanding of the linting file used by DW may know how to update it so it recognises the 'let' and 'const' keywords. Infact I believe a couple of days ago someone did post a solution for the 'const' keyword not being recognised.

     

    If you go to the post (link below) there is a solution - 5 posts from the end of the thread.

    let/const keywords 

    Mike_HeppAuthor
    Participant
    September 19, 2023

    Thanks,

    I was issued a new computer the other day when the issue started to appear, so that would explain why it just started to happen.

    Legend
    September 19, 2023
    quote

    Thanks,

    I was issued a new computer the other day when the issue started to appear, so that would explain why it just started to happen.


    By @Mike_Hepp

     

    See the link I posted in my orginal reply - I believe a solution, 5 posts from the end, is the answer to your problem.