add console.log automaticaly to 1-lvl expressions

This commit is contained in:
2022-11-15 11:44:04 +01:00
parent 900db4fb3e
commit e53679ff26
5 changed files with 148 additions and 8 deletions

View File

@@ -20,6 +20,9 @@ export default defineComponent({
},
data() {
const code = `
'Hello World!';
2n ** 42n;
for (let i = 0; i < 42; ++i) {
console.log(i);