Update Documentation to include ES6 Syntax

Describe your feature request
Include JS ES6 syntax in the documentation.

What problem(s) would this feature solve?
It would make the amount of fiddling around for inexperienced users who are using the documentation for help with their projects.

Explain what you were trying to do when you came across the problem leading to this feature request
I was attempting to use the replit database feature, but could not get it to work because my project is specified to use ES6. I had to fiddle around and ask for help before I was able to fix the problem.