Skip to content

Commit

Permalink
builtins/object: fix toLocaleString
Browse files Browse the repository at this point in the history
test262: 37.00% (+0.01) | πŸ§ͺ 47626 | 🀠 17624 (+5) | ❌ 6225 | πŸ’€ 16927 (-5) | πŸ— 290 | πŸ’₯ 431 | ⏰ 13 | πŸ“ 6116
  • Loading branch information
CanadaHonk committed Aug 4, 2024
1 parent 4bff90b commit 03a54c5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion compiler/builtins/object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ export const __Object_prototype_toString = (_this: any) => {
return out = '[object Object]';
};

export const __Object_prototype_toLocaleString = (_this: any) => __Object_prototype_toLocaleString(_this);
export const __Object_prototype_toLocaleString = (_this: any) => __Object_prototype_toString(_this);

export const __Object_prototype_valueOf = (_this: any) => {
// todo: ToObject
Expand Down
2 changes: 1 addition & 1 deletion compiler/builtins_precompiled.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "porffor",
"description": "a basic experimental wip aot optimizing js -> wasm engine/compiler/runtime in js",
"version": "0.36.1+7b9b6a8dd",
"version": "0.36.2+3a2eec32c",
"author": "CanadaHonk",
"license": "MIT",
"scripts": {},
Expand Down
2 changes: 1 addition & 1 deletion runner/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node
import fs from 'node:fs';
globalThis.version = '0.36.1+7b9b6a8dd';
globalThis.version = '0.36.2+3a2eec32c';

// deno compat
if (typeof process === 'undefined' && typeof Deno !== 'undefined') {
Expand Down
2 changes: 1 addition & 1 deletion test262/history.json

Large diffs are not rendered by default.

0 comments on commit 03a54c5

Please sign in to comment.