Comments (3)
Ah, interesting.
I suppose we can add String#quote
.
toSource
— we're already testing it on both Object's and Function's (the
test is: test('toSource' in (function(){}) && 'toSource' in ({}))
)
toJSON
on all objects — I guess it can be called non-standard. AFAIR,
spec encourages objects to have toJSON
, and JSON.stringify
invokes
those methods on objects when available. Mozilla must be taking advantage
of it?
On Mon, Jul 2, 2012 at 1:29 PM, Mathias Bynens <
[email protected]
wrote:
Check this out:
http://mxr.mozilla.org/mozilla-central/source/js/src/tests/ecma_5/extensions/extension-methods-reject-null-undefined-this.js#18E.g.
String#quote
,toJSON
on most objects,toSource
on most objects,
etc.
Reply to this email directly or view it on GitHub:
https://github.com/kangax/es5-compat-table/issues/33
from compat-table.
So no String#quote
in the table after all?
from compat-table.
Sure why not, added a separate issue for that —
https://github.com/kangax/es5-compat-table/issues/49
On Wed, Nov 28, 2012 at 4:24 PM, Mathias Bynens [email protected]:
So no String#quote in the table after all?
—
Reply to this email directly or view it on GitHubhttps://github.com/kangax/es5-compat-table/issues/33#issuecomment-10806448.
from compat-table.
Related Issues (20)
- Deep link to subsection doesn't expand correctly
- Question: What does Intl.DateTimeFormat() - "accepts IANA timezone names" actually mean?
- Add Hermes JS engine HOT 1
- ES6: In “Proxy, internal 'get' calls”, make the “RegExp.prototype.flags” test future-proof (failing because of `hasIndices`) HOT 1
- Can't open the site in China HOT 2
- "spread parameters after optional chaining" works in Chrome 91 HOT 6
- Can't find URL Standard HOT 6
- Would a PR making custom compat-tables easier be welcomed? HOT 5
- table horizontal scroll error
- Feature request: add structuredClone HOT 1
- Should Safari 15.4 have its own entry? HOT 1
- Feature Request - Browser Market Share HOT 4
- [spam]
- Deno uses V8; should not be painted yellow but green (also current Opera) HOT 4
- Add Bun HOT 4
- The verification of `RegExp.prototype.hasIndices` is incorrect HOT 4
- add new es2023 Array.prototype methods HOT 1
- Externalize results from tests
- Website down HOT 3
- The online test/result page is not available anymore HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compat-table.