r/GoogleAppsScript • • Oct 20 '22

Question How different is Apps Script vs. JavaScript?

Curious if a JavaScript tutor could navigate this with me?

10 Upvotes

6 comments sorted by

View all comments

8

u/LateDay Oct 21 '22

Apps Script is Javascript.

Differences are less to do with the language but where the code is run. since App Script is not run by a browser, you cannot use document and HTML methods or classes. Console.log also does not work (since there is no console) but Logger.log does the equivalent.

2

u/somenewname4me Aug 09 '23

This is exactly the comment I was looking for.