Just playing around in the console..
On Fri, Sep 5, 2008 at 1:56 AM, Keryx Web <[EMAIL PROTECTED]> wrote:
> Concerning Chrome, I have some unanswered questions about V8.
>
> Exactly what JavaScript features does it support? (This is NOT a question
> about it's speed.)
>
> The release statememt simply says that it follows the EcmaScript 3.0
> standard, but we all know that it is quirky in places and that current
> browsers deviate from it in some of those. With Mozilla leading the pack and
> Opera and Webkit/Squirrelfish following closely, there also are a slew of
> additions, a.k.a. JavaScript 1.6, 1.7, 1.8, etc.
>
> Has anyone tested if V8 supports things like:
> - Array extras
It's got the Array extras from 1.6, but not 1.8 (reduce)
> - Getters and setters
Yes, it's got those. Though strangely with __defineGetter__,
__defineSetter__, and array extras, and any other "native" function
I've tried, the toString function outputs actual source code instead
of just "function () { [native code] }" like most other
implementations. Not sure whether it's C code or javascript code in
the functions.
> - Array and string generics
You can apply array functions to strings, if that's what you mean.
> - Generators and iterators
Nope
> - Expression closures
I don't know how you could have javascript without those. Pretty much
every website would break. Event handlers would be impossible.
> - Array comprehensions
don't know
> - Block scope with let
nope
> Etc
Don't know about that either.
>
>
> Lars Gunther
>
> (No I've not had the time to test myself)
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> *******************************************************************
>
>
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************