Functions are pieces of code that perform actions. There are both functions built into JavaScript and an almost limitless number of functions a developer can create. The Anatomy of a Function Function can be created using the function keyword, usually followed by a unique name, though a name is not required, followed by () and then { } Inside of the (), you can set perimeters. These perimeters ore optional, but, if used, allow for data to be transferred in to the function to be used. Functions usually end with the keyword return. This keyword signals the JavaScript engine to stop processing the function and will take MORE q
By DarkMG73 on March 3rd, 2020 in













