Closed rkrbashyan closed 2 years ago
When we run the code, it produces the expected output:
Can you please try creating new Quokka file, pasting your code and checking if it's working as expected?
By default Quokka reuses created node process, so it's possible that the i
was closed over in global scope as you were typing the code. You may use this setting to disable process reuse by Quokka.
Thank you. The actual problem is my babel preset config
"babel": {
"presets": ["@babel/preset-env"],
"plugins": [["@babel/plugin-proposal-decorators", { "version": "2022-03" }]]
}
Issue description or question
Is this issue related to Quokka not outputting the expected results of your code?: Yes
Sample code
Quokka.js Console Output
Expected Console Output
Code editor version
Visual Studio Code v1.73.1
OS name and version
OSX, 13.0.1