Folding in the JavaScript Editor
Folding, which refers to collapsing/expanding portions of code in the JavaScript Editor, can be accomplished manually by selecting the + / - icon in the left margin of the JS Editor or from the Editor's Context menu (which offers more ways to collapse/expand folds faster than you can do manually). Use the following steps to collapse/expand a fold from the Context menu. (The procedures to perform the other folding actions are similar.)