# Elixir → JavaScript Porting Initiative

**URL:** <https://forum.elixirforum.com/t/elixir-javascript-porting-initiative/73335>\
**Category:** News & Updates\
**Tags:** hologram, hologram-help\
**Created:** [November 16, 2025, 12:24am UTC](https://forum.elixirforum.com/t/elixir-javascript-porting-initiative/73335 "2025-11-16T00:24:09Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Sorc96](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sorc96/32/28361_2.png) [@Sorc96](https://forum.elixirforum.com/u/Sorc96)\
**Post date:** [November 18, 2025, 12:42pm UTC](https://forum.elixirforum.com/t/elixir-javascript-porting-initiative/73335/3 "2025-11-18T12:42:53Z")

</div>

I have an idea for a (probably non-trivial) improvement to the test suite. While porting `:erlang.make_tuple/2`, I made a mistake and wrote a test checking that making a tuple with size 0 raises an error. This is not true, an empty tuple is returned instead, but the test passed, since my implementation raised an error.

Would it be possible to compare the result of the JS implementation with the result of the actual Erlang function? I assume this would require implementing at least one of `term_to_binary` and `binary_to_term`. Does this seem too difficult to be worth the effort?

---

_[View the full topic](https://forum.elixirforum.com/t/elixir-javascript-porting-initiative/73335)._
