Skip to main content
guga121
New Participant
December 4, 2019
Answered

Service Worker line error in Dreamweaver

  • December 4, 2019
  • 2 replies
  • 448 views

Hello everybody. Working over Dreamweaver cs6, over javascript code for service worker, shows an error over this line: 

let deferredPrompt = null;

but code not the issue.

 

This topic has been closed for replies.
Correct answer BenPleysier

Dreamweaver CS6 was written about 8 years ago, way before ECMAScript 6. It is therefore best to ignore the message.

2 replies

Nancy OShea
Community Expert
December 4, 2019

Legacy CS6 is beyond support and no longer updated.   Switch to a modern code editor (Brackets, Sublime, VS Code, DW CC 2020, etc...). 

 

 

 

 

 

 

Nancy O'Shea— Product User & Community Expert
guga121
guga121Author
New Participant
December 5, 2019

Excellent Nancy, Ben. I would update my coding framework. 

BenPleysier
BenPleysierCorrect answer
Community Expert
December 4, 2019

Dreamweaver CS6 was written about 8 years ago, way before ECMAScript 6. It is therefore best to ignore the message.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!