Download next.js/packages/next/src/compiled/@babel/runtime/helpers/createClass.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 583 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/compiled/%40babel/runtime/helpers/createClass.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/packages/next/src/compiled/@babel/runtime/helpers/createClass.js
-
curl -L -o createClass.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/compiled/%40babel/runtime/helpers/createClass.js
583 Bytes
| var toPropertyKey = require("./toPropertyKey.js"); | |
| function _defineProperties(e, r) { | |
| for (var t = 0; t < r.length; t++) { | |
| var o = r[t]; | |
| o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); | |
| } | |
| } | |
| function _createClass(e, r, t) { | |
| return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { | |
| writable: !1 | |
| }), e; | |
| } | |
| module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; |