# Why does makecode not support the spread operator in JavaScript? (and why do you lie about it being JavaScript?)

**URL:** <https://forum.makecode.com/t/why-does-makecode-not-support-the-spread-operator-in-javascript-and-why-do-you-lie-about-it-being-javascript/46806>\
**Category:** Arcade\
**Tags:** javascript\
**Created:** [October 30, 2026, 1:56pm UTC](https://forum.makecode.com/t/why-does-makecode-not-support-the-spread-operator-in-javascript-and-why-do-you-lie-about-it-being-javascript/46806 "2026-10-30T13:56:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fractal](https://avatars.discourse-cdn.com/v4/letter/f/2bfe46/32.png) [@fractal](https://forum.makecode.com/u/fractal)\
**Post date:** [October 30, 2026, 1:56pm UTC](https://forum.makecode.com/t/why-does-makecode-not-support-the-spread-operator-in-javascript-and-why-do-you-lie-about-it-being-javascript/46806/1 "2026-10-30T13:56:14Z")

</div>

I tried to use the spread operator to elegantly join multiple lists, but BAM! It is not supported by “Makecode’s TypeScript”. Why is that?

And why do we code in TypeScript under the name of JavaScript? (Even the AI [WHICH IS VERY HELPFUL BY THE WAY 😡] says “TypeScript”) Are people scared of TypeScript so you just tell them it’s JavaScript, so they code in a strongly typed superset of JavaScript which improves their coding skills or something but don’t actually realize it? I really wonder why.

This is not negative feedback, I just find it strange that it is presented as JavaScript but it is actually TypeScript.

---

<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:** [October 30, 2026, 1:57pm UTC](https://forum.makecode.com/t/why-does-makecode-not-support-the-spread-operator-in-javascript-and-why-do-you-lie-about-it-being-javascript/46806/2 "2026-10-30T13:57:49Z")

</div>

we don’t use the typescript compiler, we have our own compiler and we never got around to fully implementing the spread operator.

and the reason is because people don’t know what typescript is, but they do know what javascript is!

---

<div class="post-metadata">

**Author:** ![kaleb3335](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kaleb3335/32/16382_2.png) [@kaleb3335](https://forum.makecode.com/u/kaleb3335)\
**Post date:** [October 30, 2026, 8:41pm UTC](https://forum.makecode.com/t/why-does-makecode-not-support-the-spread-operator-in-javascript-and-why-do-you-lie-about-it-being-javascript/46806/3 "2026-10-30T20:41:53Z")

</div>

but if its not JavaScript shouldn’t you just call it typescript so people then know what typescript is??

---

<div class="post-metadata">

**Author:** ![TheMarkyGoober](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/themarkygoober/32/34644_2.png) [@TheMarkyGoober](https://forum.makecode.com/u/TheMarkyGoober)\
**Post date:** [October 30, 2026, 8:41pm UTC](https://forum.makecode.com/t/why-does-makecode-not-support-the-spread-operator-in-javascript-and-why-do-you-lie-about-it-being-javascript/46806/4 "2026-10-30T20:41:55Z")

</div>

isn’t typescript the same as javascript?

---

<div class="post-metadata">

**Author:** ![TheGooberEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thegooberearth/32/36693_2.png) [@TheGooberEarth](https://forum.makecode.com/u/TheGooberEarth)\
**Post date:** [October 30, 2026, 9:56pm UTC](https://forum.makecode.com/t/why-does-makecode-not-support-the-spread-operator-in-javascript-and-why-do-you-lie-about-it-being-javascript/46806/5 "2026-10-30T21:56:37Z")

</div>

what in the wrong/j. Typescript is javascript but JavaScript is not typescript. Typescript is a subset of js.

---

<div class="post-metadata">

**Author:** ![Air](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/air/32/26413_2.png) [@Air](https://forum.makecode.com/u/Air)\
**Post date:** [October 31, 2026, 7:39pm UTC](https://forum.makecode.com/t/why-does-makecode-not-support-the-spread-operator-in-javascript-and-why-do-you-lie-about-it-being-javascript/46806/6 "2026-10-31T19:39:50Z")

</div>

No, Typescript (TS) is a subset of Javascript (JS) I would go more into detail, but I need to sleep
