JavaScript Functions for Analysts: Inputs, Outputs and Scope | BMateas.com