# Exec function in makecode arcade?

**URL:** https://forum.makecode.com/t/exec-function-in-makecode-arcade/18006
**Category:** Help
**Created:** [February 15, 2023, 4:37pm UTC](https://forum.makecode.com/t/exec-function-in-makecode-arcade/18006 "2023-02-15T16:37:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![technonux](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/technonux/32/7924_2.png) [@technonux](https://forum.makecode.com/u/technonux)
#### Post date: [February 15, 2023, 4:37pm UTC](https://forum.makecode.com/t/exec-function-in-makecode-arcade/18006/1 "2023-02-15T16:37:18Z")

</div>

is there any way to run javascript code from a variable or string  
for example an Exec function?

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [February 15, 2023, 4:41pm UTC](https://forum.makecode.com/t/exec-function-in-makecode-arcade/18006/2 "2023-02-15T16:41:24Z")

</div>

Nope! no evals here

---

<div class="post-metadata">

### Author: ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)
#### Post date: [February 15, 2023, 5:02pm UTC](https://forum.makecode.com/t/exec-function-in-makecode-arcade/18006/3 "2023-02-15T17:02:37Z")

</div>

Well, besides the one [https://github.com/microsoft/pxt/blob/master/pxtsim/runtime.ts#L1573](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](https://makecode.com/language#unsupported-language-features)

---

<div class="post-metadata">

### Author: ![technonux](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/technonux/32/7924_2.png) [@technonux](https://forum.makecode.com/u/technonux)
#### Post date: [February 15, 2023, 10:10pm UTC](https://forum.makecode.com/t/exec-function-in-makecode-arcade/18006/4 "2023-02-15T22:10:57Z")

</div>

oh okay, thanks for replying still.
