Recommend plug-ins that can execute js scripts

for example, if a js script is edited in the page text field, click the button to execute

what you get after clicking is the js script string. Run this js script

similar to what plug-ins jsfilddle, should use, preferably vue-related, thank you

Sep.01,2021

eval () solved


const a = `console.log('js')`

Function(a)()

it is better to use Function, eval will affect compression

Menu