Skip to content

Files

examples

Examples of usage for boa_engine

In this crate you can find examples of the usage of the Boa JavaScript engine. The simplest example can be found in the loadstring.rs file. A similar example that uses JavaScript stored in a file can be found in loadfile.rs.

You can also find examples of specific Rust APIs for arrays, maps, sets, typed arrays and much more.