14. Other Errors
• No side-effects in functions (pure functions)
• Explicit error conditions (Maybe, Result, Task)
• Runtime error can happen in Javascript Interop
24. • Booleans and Strings – both exist in Elm and JS
• Numbers – Elm ints and floats -> to JS numbers
• Lists –> to JS arrays
• Arrays –> to JS arrays
• Tuples –> to fixed-length, mixed-type JS arrays
• Records –> to JavaScript objects
• Maybes –> Nothing and Just 42 -> to null and 42 in JS
• Json – JSON.Encode.Value -> to arbitrary JSON