Str
When you compile to JavaScript, you can’t use module Str, whose functionality is too dependent on native strings. Instead, you have to use JavaScript-specific modules:
Js.String
Js.Re