From f458dcce81d6aa76c387b193df8b89e098de0eef Mon Sep 17 00:00:00 2001 From: luzhisheng Date: Sat, 8 Jul 2023 01:30:11 +0800 Subject: [PATCH] =?UTF-8?q?21js=E5=8A=A0=E5=AF=86=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E5=A5=97=E4=BA=86=E8=BD=BBob=E7=9A=84webpack?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../21js加密一个套了轻ob的webpack/webpack-3/wp3.js | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 猿人学练习/21js加密一个套了轻ob的webpack/webpack-3/wp3.js diff --git a/猿人学练习/21js加密一个套了轻ob的webpack/webpack-3/wp3.js b/猿人学练习/21js加密一个套了轻ob的webpack/webpack-3/wp3.js new file mode 100644 index 0000000..66020cd --- /dev/null +++ b/猿人学练习/21js加密一个套了轻ob的webpack/webpack-3/wp3.js @@ -0,0 +1,78 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { +/******/ configurable: false, +/******/ enumerable: true, +/******/ get: getter +/******/ }); +/******/ } +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 0); +/******/ }) +/************************************************************************/ +/******/ ([ +/* 0 */ +/***/ (function(module, exports) { + +let total = 0; +for (let i = 0; i < 10; i++) { + total += i; +} +console.log("Total: " + total); + + +/***/ }) +/******/ ]); \ No newline at end of file