Post History
JavaScript (Node.js), 6 bytes n=>n%2 Try it online! Basically does what you'd expect.
Answer
#2: Post edited
# [JavaScript (Node.js)], 8 bytes- ```javascript
f=n=>n%2- ```
- [Try it online!][TIO-kqfzk65p]
- Basically does what you'd expect.
- [JavaScript (Node.js)]: https://nodejs.org
[TIO-kqfzk65p]: https://tio.run/##y0osSyxOLsosKNHNy09J/f8/zTbP1i5P1eh/Wn6RgkZOaolCpoKtgoE1kLJRMALR2tqaCtVcCkCQnJ9XnJ@TqpeTn66RqaOQppGpqclV@x8A "JavaScript (Node.js) – Try It Online"
- # [JavaScript (Node.js)], 6 bytes
- ```javascript
- n=>n%2
- ```
- [Try it online!][TIO-kqfzk65p]
- Basically does what you'd expect.
- [JavaScript (Node.js)]: https://nodejs.org
- [TIO-kqfzk65p]: https://tio.run/##y0osSyxOLsosKNHNy09J/Z9m@z/P1i5P1eh/Wn6RgkZOaolCpoKtgoE1kLJRMALR2tqaCtVcCkCQnJ9XnJ@TqpeTn66RqaOQppGpqclV@x8A "JavaScript (Node.js) – Try It Online"
#1: Initial revision
# [JavaScript (Node.js)], 8 bytes ```javascript f=n=>n%2 ``` [Try it online!][TIO-kqfzk65p] Basically does what you'd expect. [JavaScript (Node.js)]: https://nodejs.org [TIO-kqfzk65p]: https://tio.run/##y0osSyxOLsosKNHNy09J/f8/zTbP1i5P1eh/Wn6RgkZOaolCpoKtgoE1kLJRMALR2tqaCtVcCkCQnJ9XnJ@TqpeTn66RqaOQppGpqclV@x8A "JavaScript (Node.js) – Try It Online"