February 2019
Beginner to intermediate
180 pages
4h 4m
English
The Reason standard library is actually the OCaml standard library. It was not created with JavaScript in mind. The Belt standard library was created by the same person who created BuckleScript—Hongbo Zhang—and ships with BuckleScript. Belt was made with JavaScript in mind and is especially known for its performance. The Belt standard library is accessed via the Belt module:
/* Belt standard library */let array = [|"first", "second", "third"|];Belt.Array.map(array, e => e ++ "-mapped");
Read now
Unlock full access