Download next.js/test/integration/app-document-import-order/sideEffectModule.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 204 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/app-document-import-order/sideEffectModule.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/app-document-import-order/sideEffectModule.js
-
curl -L -o sideEffectModule.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/app-document-import-order/sideEffectModule.js
204 Bytes
| const sideEffect = (arg) => { | |
| if (!sideEffect.callArguments) { | |
| sideEffect.callArguments = [] | |
| } | |
| sideEffect.callArguments.push(arg) | |
| return sideEffect.callArguments | |
| } | |
| export default sideEffect | |