473,769 Members | 3,084 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

New Firefox 2.0 Upgrade has Increased JavaScript Support

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.

Oct 25 '06 #1
7 1448
cwdjrxyz wrote:
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.mozil la.org/en/docs/New_in_JavaScri pt_1.7for a
more detailed description of changes to the core JavaScript language.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Oct 25 '06 #2
Martin Honnen <ma*******@yaho o.dewrites:
cwdjrxyz wrote:
>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.mozil la.org/en/docs/New_in_JavaScri pt_1.7for 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

>
--

Martin Honnen
http://JavaScript.FAQTs.com/
--
Arnaud DIEDEREN
Software Developer
IONIC Software
Rue de Wallonie, 18 - 4460 Grace-Hollogne - Belgium
Tel: +32.4.3640364 - Fax: +32.4.2534737
mailto:ad@ionic soft.com
http://www.ionicsoft.com
Oct 25 '06 #3
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?

Oct 26 '06 #4

cwdjrxyz wrote:
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

Oct 26 '06 #5
VK

Arnaud Diederen aundro wrote:
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.

Oct 26 '06 #6
"VK" <sc**********@y ahoo.comwrites:
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:ad@ionic soft.com
http://www.ionicsoft.com
Oct 27 '06 #7
cwdjrxyz wrote:

<snip>
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

Nov 2 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2956
by: niconedz | last post by:
Hi The following code works fine in IE but not Firefox. It's a little script that zooms an image and resizes the window to fit. Can anybody tell me what's wrong? Thanks Nico == btw.. sorry for the long post ==
6
14463
by: Mark Olbert | last post by:
The doPostBack javascript functioning is not submitting the page when called by linkbuttons (or an autopostback checkbox, for that matter). I'm aware of a problem with Netscape browsers and the postback code, but I have a workaround for that installed (and it looks like the code generated by ASP.NET when it renders the page does the same thing, namely, setting document<). However, the problem still exists under firefox. Has anyone come...
12
2050
by: Brad | last post by:
Does anyone have any other solutions to the Firefox rendering problems with ASP.NET? I've tried the <browsercaps> web.config trick. It didn't work. Am I overlooking something else? Thanks!
13
2876
by: Giggle Girl | last post by:
Hi there, I am having a problem with the behavior of Firefox, where lefthand column content is not resized properly after it is "collapsed" and then "re-expanded". An online demo is available here: http://s161149005.onlinehome.us/DEMOS/FF/RESIZE_PROB/main/frameset.asp It works fine in IE 6, but in Firefox, it is broken. Specifically, when the page/frameset first loads in either browser, it looks correct. But when you click the...
1
1310
by: yeukwing | last post by:
Hi all, I've an application that overlap some map images. I'm testing it in IE 6 and firefox 1.5 In IE, all scripts execute perfectly and i've 3 map images running, In firefox, when there are only 2 map image objects, it is ok. but when i increased the number of map images to 3, it crashed and closed itself and i can't find any javascript error in the Javascript Console.
11
4088
by: Krij | last post by:
Hi! Here's a training case at school. The function will animate a table cell in IE: function chgColor(){ var thistag, parenttag; thistag = window.event.srcElement.tagName; if(thistag == "TD"){ document.all(window.event.srcElement.sourceIndex).bgColor = "#3280ff";
2
4319
alexphd
by: alexphd | last post by:
This code works in firefox perfectly, but in Internet Explorer it does not calculate the total correctly. Anybody know why? <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en" dir="ltr"> <head> <title>Order form</title>
2
2028
by: crumsoft | last post by:
hello every one i have face some problem related to css. my css file work good in firefox but not looking so good and work properly in internet explorer 6.0 plz help me and solve this problem. html file is. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3
2433
by: SAL | last post by:
Hello, I did google this issue and found some stuff related to BrowserCaps section of either web.config or machine.config but it didn't work. It seems that most pages in my webapp are okay but a couple of the Firefox is munging up. So, on my information page there is a gridview in the content section of the page. The masterpage contains searching capabilities for the gridview. The masterpage has controls contained in a panel control,...
0
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9422
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10208
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10038
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9987
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8867
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6662
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5294
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2812
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.