-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example does not work, map returns Proxy Object #1081
Labels
Comments
That is a correct behavior since Some JavaScript runtimes can handle the output of Node.js (Bun): import { Float16Array } from "@petamoriken/float16";
import { customInspect } from "@petamoriken/float16/inspect";
Float16Array.prototype[Symbol.for("nodejs.util.inspect.custom")] = customInspect; Deno: import { Float16Array } from "https://deno.land/x/float16/mod.ts";
import { customInspect } from "https://deno.land/x/float16/inspect.ts";
// deno-lint-ignore no-explicit-any
(Float16Array.prototype as any)[Symbol.for("Deno.customInspect")] = customInspect; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this fantastic library!
from the example, the expected output of the following map should be:
Expected Output
Actual Output (wrong)
This, however, works:
Outputs: (correct)
The text was updated successfully, but these errors were encountered: