Subj : Javascript for dummies like me
To : echicken
From : Sys64738
Date : Fri Dec 10 2021 09:51 am
Re: Javascript for dummies like me
By: echicken to Sys64738 on Fri Dec 10 2021 15:15:51
> If you've written software, you've probably written a function, and in so
> doing you've made up a command. Your program can call that function whenever
> it needs to.
Pardon my dated terms, but I relate "function" in this context to be a "routine" or "subroutine".
> In many ways, this is the same thing. It's just that the function (or
> object, method, property, etc.) is defined at a lower level. Sort of at a
> layer between the parent application and the child script.
>
> It's not that implementors are altering JS itself. It's that they're giving
> scripts an interface to resources outside of the JS core so that they can do
> something with them. Which is the entire point of embedding a scripting
> engine into your software.
>
> I hope that clarifies it a bit.
It certainly does. I appreciate you taking the time to explain it to me. Suddenly, the world starts to make a little more sense.