JavaScript Function Scoping (Script Snap)
I thought about creating a ticket to ask this, then realized others probably could use this information as well… When writing a script for a JavaScript snap, one can define all the subroutines as member functions within the “impl” object: var impl = ...