We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f2c48d commit 6c839dfCopy full SHA for 6c839df
JavascriptInterop.md
@@ -1,5 +1,24 @@
1
# JavaScript Interoperability
2
3
+## Data Type Conversions
4
+
5
+ElixirScript translates Elixir primitive types to the following:
6
7
+| Elixir | JavaScript |
8
+|--------|------------|
9
+| Integer | Number |
10
+| Float | Number |
11
+| Binary | String |
12
+| Atom | Symbol |
13
+| List | Array |
14
+| Map | Map |
15
+| Tuple | ErlangTypes.Tuple |
16
+| Bitstring | ErlangTypes.Bitstring |
17
+| PID | ErlangTypes.PID |
18
+| Reference | ErlangTypes.Reference |
19
20
+The ErlangTypes library can be found [here](https://github.com/elixirscript/erlang-types)
21
22
## ElixirScript Calling JavaScript
23
24
### ElixirScript.JS module
0 commit comments