As a FileMaker developer, we use some of the JS language, but we don't use it all. Since we're doing the same things over and over (see the learning path) we use the same JS over and over.
By the way, there's two sources of documentation I recommend:
I prefer the first one as it's the official documentation. The second one is a bit more user-friendly but along with readability comes ads.
The Document Object Model (DOM)
There are a lot of functions built into JS that work with the actual HTML that is rendered in the web viewer (the DOM). It's good to review these and know how to, say, select a div with an id of "chart". With these DOM functions you can actually construct divs with your JS to
Here's the documentation.
And here are some common functions I use:
I'm sure there are more in that section. As you get familiar with the documentation, you'll find it easy to look up something new when you're looking for the solution.
Array & Object Methods
We FileMaker developers will manipulate data a lot. We'll transform arrays and objects into something that we need for our code. So it's worth exploring the methods that are available on objects and array.
As data comes from FileMaker to the JS we need to prep it for use in the JS. And vice versa. There's two built in JS methods that handle this for us:
We often need to manipulate strings. So JS has built in methods for that. Here's a few:
This list will grow as more JS is used in FileMaker.