is there any way to run javascript code from a variable or string
for example an Exec function?
Nope! no evals here
1 Like
Well, besides the one https://github.com/microsoft/pxt/blob/master/pxtsim/runtime.ts#L1573 (but that’s for running user code, not user code running user code )
We have some notes on the differences between our javascript & native browser javascript here https://makecode.com/language#unsupported-language-features
2 Likes
oh okay, thanks for replying still.