The user's code…
Trying to parse "" will also throw with JSON; !!"false " is true; host
objects (or whatever they're called now) such as document.all.
Unsubscribing. Not sure why I didn't earlier… I need to stay a code-free
user. :-)
On Thu, Mar 16, 2017 at 7:08 PM, 段垚 wrote:
On Sat, Apr 16, 2016 at 7:53 AM, Caitlin Potter wrote:
> How would that interact with angular.js' Function.prototype.toString
> parsing? Seems like doing that could break some content, even if it were
> useful
>
Comments are generally a failure of the developer to write
On Mon, Feb 15, 2016 at 1:13 AM, Coroutines wrote:
> This post might be overly wordy. Sorry. It relates to the
> functionality provided by the `with` keyword and why I think it's
> important in the future.
>
> I am currently rewriting a templating module that I think is
On Sat, Jan 23, 2016 at 12:46 PM, kdex wrote:
> @Michał: That really depends on the point of view: If you need zero-based
> indexing from the right, as `[]` does from the left, you'd use
> `Array.prototype.last`.
>
> On Samstag, 23. Januar 2016 20:56:02 CET Michał Wadas wrote:
>> I
Because javascript is dynamically typed, conversion from objects to
primitive values and vice versa. This is done respectively by the
internal [[ToPrimitive]] and [[ToObject]] methods. See
Object.prototype.toString, step 3
| Let O be ToObject(this value).
On 8/7/15, Behrang Saeedzadeh behran...@gmail.com wrote:
Hi Sebastien,
Guys —
On Sun, Aug 2, 2015 at 10:38 PM Sébastien Cevey seb.ce...@guardian.co.uk
wrote:
[...]
Versions can be specified either at the top-level config, or even at the
import level, e.g.:
On 5/14/15, Emanuel Allen emanuelal...@hotmail.com wrote:
Surprise that I can't do arr1.forEeach(arr2.push);
Check that line more carefully.
Will throw an error.
Using bind as:
push = arr2.bind(push);
Arrays don't have a bind method.
--
Garrett
@xkit
ChordCycles.com
garretts.github.io
On 5/14/15, Alexander Jones a...@weej.com wrote:
Ah, thanks for explaining! What about the Temporal Dead Zone of let,
or const binding semantics, for those of us who are obsessive enough to
desire that kind of thing everywhere?
Let a constructive discussion about this proposal take place.
The
On 5/14/15, Kevin Smith zenpars...@gmail.com wrote:
Good points. All the more reason to throw out declarations as statements
in favour of let/const/var, which we all have to understand well
anyway, for other types of variable.
Declarations aren't going anywhere,
Getting rid of
OK, here is a bug report:
Bug 4336 - 10.5 Declaration binding instantiation
https://bugs.ecmascript.org/show_bug.cgi?id=4336
On 4/29/15, Mathias Bynens mathi...@opera.com wrote:
On Wed, Apr 29, 2015 at 7:29 AM, Garrett Smith dhtmlkitc...@gmail.com
wrote:
There is an English problem here
There is an English problem here:
Let existingProp be the resulting of calling the [[GetProperty]]
internal method of go with argument fn.
Can the spec be made easier to read?
--
Garrett
@xkit
ChordCycles.com
garretts.github.io
personx.tumblr.com
___
On 4/10/15, Axel Rauschmayer a...@rauschma.de wrote:
The reason why you need to call the super-constructor from a derived class
constructor is due to where ES6 allocates instances - they are allocated
by/in the base class (this is necessary so that constructors can be
subclassed that have
)
But if Garrett Smith was trying to point out that `.contains()` would be
better naming for the specific purpose of using an Array:
`str.contains([Mary, Bob])` then ok? maybe.
str.contains was Andrea's interpretation of my example. Nevermind
that; let me try again...
You first asked about making
On 3/10/15, Garrett Smith dhtmlkitc...@gmail.com wrote:
On 3/10/15, Edwin Reynoso eor...@gmail.com wrote:
[...]
specs if I want to understand what I am doing in order to pay my rent.
It can and should suck less.
Let me rephrase that: I don't mean that the specification sucks -
sitting down
On 3/10/15, Andrea Giammarchi andrea.giammar...@gmail.com wrote:
I'm still having hard time understanding what's the difference between
contains and the good old indexOf beside the RegExp check ... but I agree
having multiple explicit searches instead of multiple implicit searches
won't make
On 3/10/15, Andrea Giammarchi andrea.giammar...@gmail.com wrote:
contains better than indexOf ? I'd agree only if contains wasn't accepting
any extra argument, which makes it even more (pointless?) similar to
indexOf.
If it had only one incoming parameter, you could have `[maria,
Can you show an example of how callee is used with a fat arrow function?
(()={alert(callee);})()
Thanks.
On 2/26/15, Allen Wirfs-Brock al...@wirfs-brock.com wrote:
Here is a new proposal for some additional meta properties that should be
considered for ES7
On 1/22/15, Brendan Eich bren...@mozilla.org wrote:
Andrea Giammarchi wrote:
agreed and not only, it took years before various engines fully
implemented ES5 so saying years later that an engine is fully
compliant with a year in the past feels so wrong !!!
Why is that? Where is the thread
On 11/16/14, Biju bijumaill...@gmail.com wrote:
[...]
Proposal:
I wish there was some syntax sugar like
function someClickHandler(){
doStuff();
doAnotherStuff();
doYetAnotherStuff();
} finally {
return false;
}
function rf() {
try {
throw-an-error;
} finally {
Old sites with old version of Mootools will have problems when trying
to use native Array.prototype.contains. Is that the only problem or is
there something else I'm missing?
On 10/7/14, Andrea Giammarchi andrea.giammar...@gmail.com wrote:
FYI: from a MooTools core developer:
On 9/7/14, Domenic Denicola dome...@domenicdenicola.com wrote:
I don't understand why this is any more surprising than any other function
that calls its callback with .call(something). It doesn't matter whether the
callback is strict or not; .call(window), which is what the spec does, will
On 9/7/14, Mark Miller erig...@gmail.com wrote:
On Sun, Sep 7, 2014 at 11:27 AM, Domenic Denicola
dome...@domenicdenicola.com wrote:
I don't understand why this is any more surprising than any other
function that calls its callback with .call(something).
The issue is what the something
On 9/7/14, Andrea Giammarchi andrea.giammar...@gmail.com wrote:
**implicitly fail** from a user point of view that used use strict to
avoid receiving the global context in there ... I am not sure how much you
want to turn it back to me but you are missing the point and I've not much
else to
On 9/7/14, Andrea Giammarchi andrea.giammar...@gmail.com wrote:
this is getting nowhere ... yeah Garret, you can use `.call` and we all
know that ...
Now I want you to answer this: why on earth would you expect a global
context in a setTimeout or setInterval operation for a function/method
On 8/12/14, Allen Wirfs-Brock al...@wirfs-brock.com wrote:
On Aug 12, 2014, at 7:52 PM, Garrett Smith wrote:
On 8/12/14, Allen Wirfs-Brock al...@wirfs-brock.com wrote:
On Aug 12, 2014, at 2:17 PM, Garrett Smith wrote:
On 8/12/14, Allen Wirfs-Brock al...@wirfs-brock.com wrote
What's the explanation and reason for this strange characteristic of
the OBJECT element in Firefox?
Firefox 31:
typeof document.createElement(object)
function
Function.prototype.toString.call(document.createElement(object));
TypeError: Function.prototype.toString called on incompatible object
If
On 8/12/14, Claude Pache claude.pa...@gmail.com wrote:
Le 12 août 2014 à 18:44, Garrett Smith dhtmlkitc...@gmail.com a écrit :
What's the explanation and reason for this strange characteristic of
the OBJECT element in Firefox?
Firefox 31:
typeof document.createElement(object)
function
On 8/12/14, Allen Wirfs-Brock al...@wirfs-brock.com wrote:
Allen -
On Aug 12, 2014, at 9:44 AM, Garrett Smith wrote:
What's the explanation and reason for this strange characteristic of
the OBJECT element in Firefox?
Firefox 31:
typeof document.createElement(object)
function
On 8/12/14, Allen Wirfs-Brock al...@wirfs-brock.com wrote:
On Aug 12, 2014, at 2:17 PM, Garrett Smith wrote:
On 8/12/14, Allen Wirfs-Brock al...@wirfs-brock.com wrote:
[...]
| Function.prototype.toString
| ...
|
| The toString function is not generic; it throws a
| TypeError exception
On 7/24/14, Andrea Giammarchi andrea.giammar...@gmail.com wrote:
What is this about? Not an answer nor a solution to what I've said...
Just think that NaN is rarely an explicit value, rather something
potentially generated at runtime. Would
you .some(Number.isNAN.bind(Number)) all the Arrays?
On 7/23/14, Maël Nison nison.m...@gmail.com wrote:
Isn't replacing DOMStringList a different issue than adding
Array.prototype.contains ?
Using indexOf is possible, but a .contains() method would give a stronger
notice of intent when reading code.
So too, for cases of removing an item,
On 7/23/14, Andrea Giammarchi andrea.giammar...@gmail.com wrote:
agreed, already imagining loops like
```js
while (arr.contains(value)) arr.remove(value);
```
although that looks a bit nicer than
```js
var i;
while (-1 (i = arr.indexOf(value))) arr.splice(i, 1);
```
my main concern
Nice.
I wonder what Horse would think of Vermin Supreme's pony identification program.
But in all seriousness, Google, MSFT, are all pushing for IoT or
wearables by putting on events featuring that, creating a buzz, and
making press on the event.
On 6/23/14, Brendan Eich bren...@mozilla.org
On 6/23/14, joe joe...@gmail.com wrote:
And here I thought you were making an educated argument with your
explanation of the history of propaganda and public relations. When I
first read corporate propaganda, I thought you mean the propaganda of JS
developers, not commercial corporations.
On 6/20/14, David Bruant bruan...@gmail.com wrote:
Hi,
I'm not quite sure what this is all about, so forking in hope for
clarifications.
I'm sorry to send a message that will probably be read as noise by a lot
of people, but I'm also tired of some of these pointless and
unconstructive, if
On 6/10/14, Ian Hickson i...@hixie.ch wrote:
On Tue, 10 Jun 2014, Allen Wirfs-Brock wrote:
Hi Ian; Allen.
(Also, how could step 6's substeps ever get triggered?)
Working backwards, step 5 does many things, some of which are specified
as having error conditions and exceptions, so I have to
On 5/28/14, Andrea Giammarchi andrea.giammar...@gmail.com wrote:
Hi Andrea -
While I agree we should expect consistent results, you might get more
consistent one via UTC time, i.e.
```
var r = new Date(2013, 02, 10),
r2 = new Date(2013, 02, 10),
diff = 7;
r.setUTCHours(2 + diff);
Yesterday, I posed the question about an event starts at 2am, 2014,
and ends immediately
after 3 am, on May 9, how long is it?
The event, in that case, should be 23 hours due to 1h DST loss.
(spring forward). But then I noticed more anomalies:
!doctype html
head
titletest DST 1/title
style
On 5/25/14, Norbert Lindenberg ecmascr...@lindenbergsoftware.com wrote:
On May 19, 2014, at 11:34 , Garrett Smith dhtmlkitc...@gmail.com wrote:
On 1/19/14, Norbert Lindenberg ecmascr...@lindenbergsoftware.com wrote:
On Jan 19, 2014, at 10:01 , Jasper St. Pierre jstpie...@mecheye.net
wrote
On 5/27/14, Garrett Smith dhtmlkitc...@gmail.com wrote:
Question: If the even starts at 2am and ends immediately
after 3 am, on May 9, how long is it?
Correction: Mar 9, not May 9.
--
Garrett
@xkit
ChordCycles.com
garretts.github.io
___
es-discuss
On 5/23/14, Ian Hickson i...@hixie.ch wrote:
On Fri, 23 May 2014, Ryosuke Niwa wrote:
On May 23, 2014, at 3:14 PM, Ian Hickson i...@hixie.ch wrote:
Hi guys -
- script needs= in HTML
Could someone give me a pointer about this? This is the first time I've
heard of this feature.
It's a
Prior to the Sixth Edition, the ECMAScript specification did not
define the occurrence of a FunctionDeclaration as an element of a
Block statement's StatementList.
The problem is not necessarily that FunctionDeclaration appears in a
Block, that FunctionDeclatation appears in places in a program
Should Error Instance have a standard `stack` property?
Seems to be a very common feature nowadays. Why isn't it being
specified in EcmaScript 6?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/stack
Thanks,
--
Garrett
@xkit
ChordCycles.com
On 1/19/14, Norbert Lindenberg ecmascr...@lindenbergsoftware.com wrote:
On Jan 19, 2014, at 10:01 , Jasper St. Pierre jstpie...@mecheye.net
wrote:
On Sunday, January 19, 2014, Garrett Smith dhtmlkitc...@gmail.com
wrote:
What considerations are there for codifying the behavior
On 5/19/14, Garrett Smith dhtmlkitc...@gmail.com wrote:
On 1/19/14, Norbert Lindenberg ecmascr...@lindenbergsoftware.com wrote:
On Jan 19, 2014, at 10:01 , Jasper St. Pierre jstpie...@mecheye.net
wrote:
On Sunday, January 19, 2014, Garrett Smith dhtmlkitc...@gmail.com
wrote:
What
On 5/10/11, Allen Wirfs-Brock al...@wirfs-brock.com wrote:
On May 10, 2011, at 4:53 PM, Douglas Crockford wrote:
I look at ECMAScript as serving four groups:
1. The beginners for whom the language was designed.
2. The web developers who owe their livelihoods to the language.
Library users.
On 5/10/11, Oliver Hunt oli...@apple.com wrote:
[...]
I think I'd prefer the #{ expr } or #(args...){ expr } syntaxes simply to\
What good is Arguments?
[...]
* Generalised object subtyping
* Probably Mark's simple map and set APIs -- these can be implemented in\
If it's wish list time,
On 5/7/11, Faisal Vali fais...@gmail.com wrote:
Kyle Simpson get...@gmail.com
Date: Sat, 7 May 2011 21:58:32 -0500
Subject: Re: arrow syntax unnecessary and the idea that function is too
long
snip
With all due respect, Brendan's personal tastes on what kind of code he
likes to write is
On 5/7/11, Isaac Schlueter i...@izs.me wrote:
[...]
Blocks in JS are useless, can't we just do away
with them?
Blocks are required for many productions such as try/catch/finally.
Almost all existing code uses blocks to group statements together.
Blocks can't be removed.
--
Garrett
On 4/29/11, Dmitry A. Soshnikov dmitry.soshni...@gmail.com wrote:
On 30.04.2011 0:22, Axel Rauschmayer wrote:
With JavaScript, is throwing a string considered bad style (now or in the
future)? That is, is throwing a new Error(msg) better than throwing msg
directly?
Why?
To get a meaningful
On 4/19/11, Brendan Eich bren...@mozilla.com wrote:
On Apr 19, 2011, at 8:39 AM, Isaac Schlueter wrote:
This style is more easily
scanned. The important tokens are along the left edge, which forms a
straight line with logical and orderly breaks, and those tokens are
not overused, so their
On 4/19/11, Isaac Schlueter i...@izs.me wrote:
On Tue, Apr 19, 2011 at 11:02, Garrett Smith dhtmlkitc...@gmail.com wrote:
On 4/19/11, Brendan Eich bren...@mozilla.com wrote:
I don't mean to annoy by repeating the same things, but here goes: Is
`()` Grouping Operator or Arguments
On 4/19/11, Brendan Eich bren...@mozilla.com wrote:
On Apr 19, 2011, at 3:08 PM, Garrett Smith wrote:
On 4/19/11, Isaac Schlueter i...@izs.me wrote:
ASI didn't change the program behavior. ASI didn't happen in that
example.
Isaac is correct.
Newline elision changed the program behavior
On 4/19/11, Garrett Smith dhtmlkitc...@gmail.com wrote:
On 4/19/11, Brendan Eich bren...@mozilla.com wrote:
On Apr 19, 2011, at 3:08 PM, Garrett Smith wrote:
On 4/19/11, Isaac Schlueter i...@izs.me wrote:
ASI didn't change the program behavior. ASI didn't happen in that
example.
Isaac
On 4/19/11, Brendan Eich bren...@mozilla.com wrote:
[...]
But good point. Indeed, feel free to file a bug at
https://bugzilla.mozilla.org asking for such a warning. I'll support it.
I'll do it.
--
Garrett
___
es-discuss mailing list
On 4/19/11, Brendan Eich bren...@mozilla.com wrote:
[...]
You are asking for an warning when a file ends without a semicolon required
by the grammar, and ASI kicks in. Fair point, good idea. It's not going to
do enough by itself, since warnings are easy to miss, and often annoy the
wrong party
On 4/18/11, Claus Reinke claus.rei...@talk21.com wrote:
The only places where semicolons are ever used in the Node.js package
manager are in the 'for' loops headers and at the *beginning* of the lines
that would be interpreted incorrectly because of the lack of the semicolon
at the end of the
On 4/17/11, Brendan Eich bren...@mozilla.com wrote:
On Apr 17, 2011, at 10:52 AM, Claus Reinke wrote:
[TLDR]
ASI is not going to be removed. I don't know why you think it could be.
Why not? Iif developers would stop doing that then eventually, can't
it be removed?
It is not hard at all to
On 4/17/11, Mike Ratcliffe mratcli...@mozilla.com wrote:
I remember going over a few hundred thousand lines of JavaScript and adding
semicolons because I had decided to minify it. I also remember that for
months I was receiving bug reports from sections of code where I had missed
the
On 4/17/11, Allen Wirfs-Brock al...@wirfs-brock.com wrote:
On Apr 17, 2011, at 12:33 PM, Mike Ratcliffe wrote:
...
Personally I would welcome some kind of option to disable ASI with open
arms. Garrett's strict mode warning idea makes sense to me but I am fairly
certain that not everybody
On 4/17/11, Jason Orendorff jason.orendo...@gmail.com wrote:
On Sun, Apr 17, 2011 at 12:07 PM, Garrett Smith dhtmlkitc...@gmail.com
wrote:
On 4/17/11, Brendan Eich bren...@mozilla.com wrote:
On Apr 17, 2011, at 10:52 AM, Claus Reinke wrote:
[TLDR]
ASI is not going to be removed. I don't know
On 4/17/11, Mikeal Rogers mikeal.rog...@gmail.com wrote:
do modern javascript implementations actually insert semicolons?
Function.prototype.toString says yes.
___
es-discuss mailing list
es-discuss@mozilla.org
On 4/17/11, Wes Garland w...@page.ca wrote:
On 17 April 2011 20:09, Garrett Smith dhtmlkitc...@gmail.com wrote:
Function.prototype.toString says yes.
That's not a really valid evaluation IMO. At least in mozilla's case, the
semi colon appears in this by virtue of the bytecode decompiler
On 4/14/11, Brendan Eich bren...@mozilla.com wrote:
There is no ambiguity problem with ? followed by . and then (with whitespace
allowed, of course) an IdentifierName. We need the lookahead to an
identifier-name starting-character to avoid this:
var tolerance = big ?.1:.01;
So we can't
On 4/13/11, Kyle Simpson get...@gmail.com wrote:
See http://wiki.ecmascript.org/doku.php?id=strawman:default_operator --
the proposal there is ?? and ??= since single ? is ambiguous after an
expression due to conditional expressions (?:).
The default operator doesn't address a significant
On 4/11/11, Claus Reinke claus.rei...@talk21.com wrote:
Like most Javascript programmers, I have tended to follow
a simple rule for functions using 'this': eta-expand method
selections, use .bind, or get into trouble.
That is unnecessary and inefficient. Instead, I use the following algorithm:
On 4/11/11, Claus Reinke claus.rei...@talk21.com wrote:
Like most Javascript programmers, I have tended to follow
a simple rule for functions using 'this': eta-expand method
selections, use .bind, or get into trouble.
That is unnecessary, inefficient, and adds clutter.
That most JavaScript
On 3/22/11, Joshua Bell j...@lindenlab.com wrote:
I was noodling with a (toy) compiler-to-JS for a (dead) language that
supports error handlers for two boundary conditions - stack depth exceeded
out of memory - and noticed that the relevant behavior in JS is not standard
across browsers. Has
On 3/23/11, Mike Shaver mike.sha...@gmail.com wrote:
On Wed, Mar 23, 2011 at 6:21 PM, Garrett Smith dhtmlkitc...@gmail.com
wrote:
javascript: alert(new InternalError(Got on tha inside, bitch!));
Hrm. seems odd to expose the constructor publicly.
Necessary to permit instanceof testing
Bad quoting made it confusing, but I was (am) right. Edited as intended below:
On 3/23/11, Garrett Smith dhtmlkitc...@gmail.com wrote:
On 3/23/11, Mike Shaver mike.sha...@gmail.com wrote:
On Wed, Mar 23, 2011 at 6:21 PM, Garrett Smith dhtmlkitc...@gmail.com
wrote:
javascript: alert(new
On 3/23/11, Mike Shaver mike.sha...@gmail.com wrote:
On Wed, Mar 23, 2011 at 8:21 PM, Garrett Smith dhtmlkitc...@gmail.com
wrote:
Bad quoting made it confusing, but I was (am) right. Edited as intended
below:
On 3/23/11, Garrett Smith dhtmlkitc...@gmail.com wrote:
On 3/23/11, Mike Shaver
On 3/18/11, Kyle Simpson get...@gmail.com wrote:
There's LOTS of sites out there that still (unfortunately) do unsafe
overwriting/overloading of the native's prototypes. For instance, just a few
months ago, I ran across a site that was creating a Array.prototype.push()
implementation that was
On 3/17/11, Juriy Zaytsev kan...@gmail.com wrote:
Thanks for bringing this quirk to the surface. I remember being puzzled by
the presence of this wording in HTML5 spec but never got a chance to do
anything about it.
By non-standard I meant not part of ECMA-262 standard (not that it's not
On 2/3/11, Allen Wirfs-Brock al...@wirfs-brock.com wrote:
I was browsing Kangax's strict mode test result page
(http://kangax.github.com/es5-compat-table/strict-mode/ ) and I noticed that
he listed the recognition of a use strict directive of a event handler as a
non-standard feature that he
On 2/3/11, Allen Wirfs-Brock al...@wirfs-brock.com wrote:
Regarding the call language, it would probably be best if it was described
in terms of invoking the [[Call]] internal method of the handler's function
object. However, that might be unnecessary if if the WebIDL ECMASCript
binding makes
On 1/5/11, Allen Wirfs-Brock al...@wirfs-brock.com wrote:
[...]
the function expression form has a well-defined meaning anywhere including
in the compound statement blocks such as if-statements. The meaning of the
latter two declaration forms are not defined by the standard when they occur
On 12/20/10, Allen Wirfs-Brock al...@wirfs-brock.com wrote:
I've seen mentions in the recent thread that the goal of the Private Names
proposal was to support private fields for objects. While that may be a
goal of some participants in the discussion, it is not what I would state as
the goal.
On 11/11/10, Michael Day mike...@yeslogic.com wrote:
Hi Brendan and Allen,
Thanks for the pointers.
So for Harmony, we are reclaiming function in block (must be a direct
child of a braced block) to bind a block-local name on block entry (so
hoisting lives, but only to top of block -- so you
On 10/10/10, Mark S. Miller erig...@google.com wrote:
On Mon, Oct 11, 2010 at 5:54 AM, Garrett Smith
dhtmlkitc...@gmail.comwrote:
[...]
And that brings me to my next point: AIUI, host objects have two
types. We discussed this before...
(searching archives...)
| The specification allows
On 10/10/10, Brendan Eich bren...@mozilla.com wrote:
On Oct 10, 2010, at 4:14 PM, Mark S. Miller wrote:
My interpretation is that the spec in this regard is consistent with
reality as intended and is not an ass.
(Somewhat disconcerting to hear hints of the spec being called an ass.)
Could
On 10/10/10, Garrett Smith dhtmlkitc...@gmail.com wrote:
On 10/10/10, Brendan Eich bren...@mozilla.com wrote:
On Oct 10, 2010, at 4:14 PM, Mark S. Miller wrote:
[...]
Here I use native functions to mean either the built-in functions of
ES5
clause 15, or the DOM built-in functions
On 7/25/10, Mark S. Miller erig...@google.com wrote:
On Sun, Jul 25, 2010 at 11:36 AM, Brendan Eich bren...@mozilla.com wrote:
On Jul 25, 2010, at 10:52 AM, Mark S. Miller wrote:
The problem is that as long as ASI exists, one will often see working code
such as this, since it does usually
On 7/22/10, Mark S. Miller erig...@google.com wrote:
On Thu, Jul 22, 2010 at 11:16 PM, David Flanagan
da...@davidflanagan.comwrote:
Allen,
The host vs. native distinction has long bothered me as well. Thanks for
a
particularly lucid explanation. In the next edition of the spec, perhaps
On 7/18/10, Allen Wirfs-Brock allen.wirfs-br...@microsoft.com wrote:
The more important issue is our intent regarding the definitions of
host and native objects.
First regarding, alert in IE. Historically it is what it is and nobody
should make any assumptions concerning the future based
On 7/16/10, Mark S. Miller erig...@google.com wrote:
On Fri, Jul 16, 2010 at 9:54 PM, Garrett Smith
dhtmlkitc...@gmail.comwrote:
I have a question reqarding [[Class]] property as defined In ES5:
| The value of the [[Class]] internal property of a host object
| may be any String value except
On 7/17/10, Mark S. Miller erig...@google.com wrote:
[+es5-discuss as a possible errata issue arises below]
On Sat, Jul 17, 2010 at 12:37 AM, Garrett Smith
dhtmlkitc...@gmail.comwrote:
On 7/16/10, Mark S. Miller erig...@google.com wrote:
On Fri, Jul 16, 2010 at 9:54 PM, Garrett Smith
I have a question reqarding [[Class]] property as defined In ES5:
| The value of the [[Class]] internal property of a host object
| may be any String value except one of Arguments, Array,
| Boolean, Date, Error, Function, JSON, Math, Number,
| Object, RegExp, and String
May it be something other
On 6/3/09, Douglas Crockford doug...@crockford.com wrote:
Allen Wirfs-Brock wrote:
JSON.parse([010])
should be an error, per spec. Nobody follows the spec though...
As I read them neither the RFC or the current ES5 JSON grammar recognize
[010] as a valid JSON form, so according to the ES5
On 6/22/10, Luke Smith lsm...@lucassmith.name wrote:
On Jun 22, 2010, at 7:20 PM, Oliver Hunt wrote:
On Jun 22, 2010, at 7:07 PM, Dean Landolt wrote:
On Tue, Jun 22, 2010 at 9:34 PM, Oliver Hunt oli...@apple.com
wrote:
[...]
As far as I can tell, all the major browsers accept tabs, as
On 6/10/10, Sigbjorn Finne sigbjorn.fi...@gmail.com wrote:
Hi Garrett,
On 6/9/2010 05:46, Garrett Smith wrote:
...
IF anyone has a correct JSON parser, I would appreciate it. Also, are
there any good test suites for JSON?
http://testsuites.opera.com/JSON/ is one. Hallvord Steen has
On 6/8/10, Oliver Hunt oli...@apple.com wrote:
On Jun 8, 2010, at 8:46 PM, Garrett Smith wrote:
[...]
IF anyone has a correct JSON parser, I would appreciate it. Also, are
there any good test suites for JSON?
I spent quite a bit of time ensuring JSC's JSON parser exactly matched the
spec
Today I looked for a good json regexp tester and finding nothing,
decided to write one.
The strategy that occurred to me was to first define a regex for the
literal components (ES5 lumps literal value into the JSONValue
alongside JSONObject and JSONArray). That way, I could reuse the
literal
On Thu, May 13, 2010 at 5:34 PM, Mark S. Miller erig...@google.com wrote:
On Thu, May 13, 2010 at 5:15 PM, Vladimir Vukicevic vladi...@mozilla.com
wrote:
This is difficult to do, given the goals of typed arrays -- they wouldn't
behave like normal Arrays in most meaningful ways. At the core,
Grammar
Ok, got it.
Allen
-Original Message-
From: es-discuss-boun...@mozilla.org [mailto:es-discuss-
boun...@mozilla.org] On Behalf Of Garrett Smith
Sent: Sunday, May 09, 2010 4:32 PM
To: Mark S. Miller
Cc: es5-disc...@mozilla.org; es-discuss; Erik Arvidsson
Subject: Re: Where
Where is the right place to report errata in the ES5 specification?
___
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss
On Sun, May 9, 2010 at 3:56 PM, Mark S. Miller erig...@google.com wrote:
On Sun, May 9, 2010 at 3:50 PM, Erik Arvidsson erik.arvids...@gmail.com
wrote:
On Sun, May 9, 2010 at 15:19, Garrett Smith dhtmlkitc...@gmail.com
wrote:
Where is the right place to report errata in the ES5
On Sat, May 1, 2010 at 7:13 AM, Brendan Eich bren...@mozilla.com wrote:
On May 1, 2010, at 3:28 AM, Jürg Lehni wrote:
On 1 May 2010, at 01:50, Brendan Eich wrote:
[...]
Odd, that is neither fish nor fowl. Does any other library have such a bind?
Anyway, Moo was not around when TC39 was
On Fri, Apr 30, 2010 at 11:07 PM, Brendan Eich bren...@mozilla.com wrote:
On Apr 30, 2010, at 10:28 PM, Garrett Smith wrote:
It could be that we missed a chance to add Function.bind(callable,
thisObj,
argsArray). Adding such a static method might have provided the desired
common utility
On Fri, Apr 30, 2010 at 5:50 PM, Brendan Eich bren...@mozilla.com wrote:
On Apr 30, 2010, at 5:33 PM, Jürg Lehni wrote:
[...]
Yes, jQuery nicely avoids the whole prototype issue.
What do the spec contributors have to say about scripts that modify built-ins?
The concept don't modify objects
On Thu, Apr 29, 2010 at 12:25 AM, Alex Russell a...@dojotoolkit.org wrote:
Some small, pre-colored panels for the shed. Given that these are mostly
matters of syntax and not semantics, please believe me when I suggest that
the warts discussed herein present sharp edges that should be rounded
1 - 100 of 156 matches
Mail list logo