(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.echarts = {})));}(this, (function (exports) { 'use strict';// (1) The code `if (__DEV__) ...` can be removed by build tool.// (2) If intend to use `__DEV__`, this module should be imported. Use a global// variable `__DEV__` may cause that miss the declaration (see #6535), or the// declaration is behind of the using position (for example in `Model.extent`,// And tools like rollup can not analysis the dependency if not import). var dev;// In browser if (typeof window !== 'undefined') {`請輸入代碼` dev = window.__DEV__; }// In node else if (typeof global !== 'undefined') { dev = global.__DEV__; } if (typeof dev === 'undefined') { dev = true; } var __DEV__ = dev;}
請問這段代碼中exports、module是什么意思?this, (function
慕森卡
2019-02-28 14:34:16