New Firefox 2.0 Upgrade has Increased JavaScript Support

C

cwdjrxyz

I just installed the new Firefox 2.0 browser without problems. This is
a major upgrade, and you need to go to the Firefox site and read the
release notes before you download it. There are a few known issues and
likely to be some more for such a major upgrade. The 2.0 now supports
JavaScript 1.7. Firefox gives the following brief summary:

JavaScript 1.7: JavaScript 1.7 is a language update introducing several
new features such as generators, iterators, array comprehensions, let
expressions, and destructuring assignments. It also includes all the
features of JavaScript 1.6.
 
M

Martin Honnen

cwdjrxyz said:
I just installed the new Firefox 2.0 browser without problems.
The 2.0 now supports
JavaScript 1.7. Firefox gives the following brief summary:

JavaScript 1.7: JavaScript 1.7 is a language update introducing several
new features such as generators, iterators, array comprehensions, let
expressions, and destructuring assignments. It also includes all the
features of JavaScript 1.6.


See <http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7> for a
more detailed description of changes to the core JavaScript language.
 
A

Arnaud Diederen

Martin Honnen said:
See <http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7> for a
more detailed description of changes to the core JavaScript language.

If anyone here is familiar with Common Lisp, he'll probably have
noticed that JavaScript 1.7 continues borrowing many sexy
features from C.L., as have done some other of today's languages:

- Let forms
- Multiple return values
- more looping forms

(and some other features of other languages as well)

Nice!

Arnaud


--
Arnaud DIEDEREN
Software Developer
IONIC Software
Rue de Wallonie, 18 - 4460 Grace-Hollogne - Belgium
Tel: +32.4.3640364 - Fax: +32.4.2534737
mailto:[email protected]
http://www.ionicsoft.com
 
S

sp

Whether this will be used somewhere out of local-hosted experiments?
Will it be faster and more powerful enough to make different versions
of code for different browsers?
Will scripts look like
if (FF) {
// 1.7
} else {
// document.all
}

I mean, isn`t the situation with HTML and CSS standarts going to
repeat, when because of IE`s lack of support for new features we
(still) have to use old methods?
 
S

scriptguru

cwdjrxyz said:
I just installed the new Firefox 2.0 browser without problems. This is
a major upgrade, and you need to go to the Firefox site and read the
release notes before you download it. There are a few known issues and
likely to be some more for such a major upgrade. The 2.0 now supports
JavaScript 1.7. Firefox gives the following brief summary:

JavaScript 1.7: JavaScript 1.7 is a language update introducing several
new features such as generators, iterators, array comprehensions, let
expressions, and destructuring assignments. It also includes all the
features of JavaScript 1.6.

wow, interesting!
The only sad thing is that this cool features will be used only for XUL
applications because IE will never support them.

Val Polyakh
http://trickyscripter.com
 
V

VK

Arnaud said:
If anyone here is familiar with Common Lisp, he'll probably have
noticed that JavaScript 1.7 continues borrowing many sexy
features from C.L., as have done some other of today's languages:

- Let forms
<snip>

For me LET statement first associated with Basic languages, so I was
surprised to see it instead of more casual
int i = i;
but however they called it - most importantly it's here now.

I'm more curious if Mozilla is planning to adopt conditional
compilation mechanics implemented in IE. Otherwise most part of these
"sexy features" will be useless for years. I searched mozilla.org but
it seems dead silent on the matter.
 
A

Arnaud Diederen

VK said:
I'm more curious if Mozilla is planning to adopt conditional
compilation mechanics implemented in IE. Otherwise most part of these
"sexy features" will be useless for years.

I'm wondering who would write code that's to be available on the web
(i.e., a website :D ) using those new features indeed.
All one can hope is that Microsoft, the Opera guys, and all others
will adopt those features.. which is less than certain.

A.


I searched mozilla.org but
it seems dead silent on the matter.

--
Arnaud DIEDEREN
Software Developer
IONIC Software
Rue de Wallonie, 18 - 4460 Grace-Hollogne - Belgium
Tel: +32.4.3640364 - Fax: +32.4.2534737
mailto:[email protected]
http://www.ionicsoft.com
 
P

Peter Michaux

cwdjrxyz wrote:

JavaScript 1.7: JavaScript 1.7 is a language update introducing several
new features such as generators, iterators, array comprehensions, let
expressions, and destructuring assignments. It also includes all the
features of JavaScript 1.6.

Will these additions open up any new possiblilities?

Will these changes make code easier to write, read and maintain? Maybe
the mulitple return values will clean up some bits of code.

Is "let" statement just as awkward as "with"?

Who invents these changes?

Will ECMAScript 4 definitely include all these additions?

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top