Skip to content
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

improved ScriptRuntime.toPrimitive() (taken from #1611 done by @tonygermano) #1661

Merged
merged 2 commits into from
Oct 2, 2024

Commits on Oct 1, 2024

  1. this is an excerpt of from PR mozilla#1611 done by @tonygermano (commit

    9664e77, e17cc25)
    
    * more standard compliant implementation of ScriptRuntime.toPrimitive();
      * have not used the Optional for more backward compatibility
      * have changed the code a bit to be more in sync with the spec (explicit if stmt's)
    * improved support for Symbol/BigInt in equals and compare
    
    I did this to make it possible to merge this improvement soon - at least this is my hope. Will extract more smaller commits if this is merged.
    rbri committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    27d93ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b596f17 View commit details
    Browse the repository at this point in the history