# S-expression syntax

**URL:** <https://es.discourse.group/t/s-expression-syntax/451>\
**Category:** 💡 Ideas\
**Created:** [August 31, 2020, 10:16pm UTC](https://es.discourse.group/t/s-expression-syntax/451 "2020-08-31T22:16:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CrazyPython](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/crazypython/32/422_2.png) [@CrazyPython](https://es.discourse.group/u/CrazyPython)\
**Post date:** [August 31, 2020, 10:16pm UTC](https://es.discourse.group/t/s-expression-syntax/451/1 "2020-08-31T22:16:05Z")

</div>

```javascript
(a b c)

// => Object.freeze(["a", "b", "c"])

(a b ${c})

// => Object.freeze(["a", "b", c])

```

This is a strawman. Please be gentle.

---

<div class="post-metadata">

**Author:** ![ljharb](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/ljharb/32/8_2.png) [@ljharb](https://es.discourse.group/u/ljharb)\
**Post date:** [August 31, 2020, 10:56pm UTC](https://es.discourse.group/t/s-expression-syntax/451/2 "2020-08-31T22:56:22Z")

</div>

How would you do a frozen object with just one item?

[https://github.com/tc39/proposal-record-tuple](https://github.com/tc39/proposal-record-tuple) may be relevant.

---

<div class="post-metadata">

**Author:** ![CrazyPython](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/crazypython/32/422_2.png) [@CrazyPython](https://es.discourse.group/u/CrazyPython)\
**Post date:** [August 31, 2020, 11:32pm UTC](https://es.discourse.group/t/s-expression-syntax/451/3 "2020-08-31T23:32:09Z")

</div>

By making the syntax less ambiguous:

```javascript
#(a)
// => Object.freeze(["a"])
#(a b c)
// => Object.freeze(["a", "b", "c"])
#(a b ${c})
// => Object.freeze(["a", "b", c])

```
