Code Monkey home page Code Monkey logo

Comments (3)

kangax avatar kangax commented on July 28, 2024

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#18

E.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.

mathiasbynens avatar mathiasbynens commented on July 28, 2024

So no String#quote in the table after all?

from compat-table.

kangax avatar kangax commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.