JSJS LanguageObjectFunctionfunctionfunction purposeOn this pagefunction purposeuse fn to wrap a piece of program in a valueuse fn to structure larger programsuse fn to reduce repetitionuse fn to associate names with subprogramsuse fn to isolate subprograms from each otherReferences