mirror of https://github.com/boa-dev/boa.git
Browse Source
Boa's `Context::eval()` and `Context::parse()` functions allow reading a byte slice directly, apart from a string. We were not showing this properly in our examples, so this modifies the `loadfile.rs` example to use a byte vector instead of a string, which allows us to use UTF-16 files, if I'm not mistaken.pull/2365/head
Iban Eguia Moraza
2 years ago
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue