-
Bug reporthttps://codesandbox.io/s/adoring-lehmann-dvfqf?file=/src/main.js What is the current behavior? If the current behavior is a bug, please provide the steps to reproduce. 变量未声明可以使用const useEffectFn = (_) => {
return {
visibleVar: null
};
};
console.log(visibleVar); // 这里应该直接报错 should throw error
let visibleVar = useEffectFn();
console.log(visibleVar); |
Beta Was this translation helpful? Give feedback.
Answered by
vankop
Feb 8, 2022
Replies: 1 comment 2 replies
-
Thank you for creating this issue. Could you provide your webpack config? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
wangfpp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for creating this issue. Could you provide your webpack config?