docs: function outputNeededConstants( code ) {
      try {
          let out = arrayToCodeWithNewLine( code.generateRequires(), "    " );
          out += arrayToCodeWithNewLine( code.generateNeededBehindFunctions(), "    " );
          out += arrayToCodeWithNewLine( code.generateFunctions(), "    " );
          out += arrayToCodeWithNewLine( code.generateGlobalVariables(), "    " );
          return out;
      } catch ( ex ) {
          bubble( ex, "outputNeededConstants" );
          return null;
      }
  }