Skip to main content

nanvm_harness/gen.expected/
object_entries_throws.rs

1// Expectation of `nanvm/harness/fixtures/object-entries-throws.mjs`, generated by `fjs/nanvm/expected`. Do not edit: change the fixture and regenerate.
2
3use nanvm_lib::vm::{Any, IVm, Nullish, ToAny};
4
5#[rustfmt::skip]
6pub fn module<A: IVm>(_runtime: Any<A>) -> Result<Any<A>, Any<A>> {
7    Err(Nullish::Undefined.to_any())
8}
9
10#[rustfmt::skip]
11pub const JSON: Option<&[u8]> = None;
12pub const THROWS: bool = true;