Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 1
    \$\begingroup\$ 44 bytes \$\endgroup\$ Commented Dec 22, 2021 at 3:40
  • \$\begingroup\$ Actually, even better: 39 bytes \$\endgroup\$ Commented Dec 22, 2021 at 3:55
  • 1
    \$\begingroup\$ Oh oops, didn't notice that. In that case, change o.length to length(o) for 40 bytes. \$\endgroup\$ Commented Dec 22, 2021 at 4:55
  • 1
    \$\begingroup\$ 33 bytes. I think this is about as low as it can get, unless I'm missing something. \$\endgroup\$ Commented Dec 22, 2021 at 23:51
  • 1
    \$\begingroup\$ Will do, I have posted my own answer. \$\endgroup\$ Commented Dec 23, 2021 at 19:59