www.webdeveloper.com
Results 1 to 3 of 3

Thread: Ecmascript 5 and browsers

  1. #1
    Join Date
    May 2012
    Posts
    32

    Ecmascript 5 and browsers

    Hello I am new to JavaScript.

    I was looking at browser usage statistics at http://www.w3schools.com/browsers/browsers_stats.asp and was completely shocked at the results.

    I expected at least 50% of people still using IE8. I didn't realize that IE's market share is so low at 18%.

    Does this mean if I want to create a public Website potentially available for 75% of the English Speaking population I can feel confident to use EcmaScript 5 features with some kind of EcmaScript 5 shim package as backup?

    I found an EcmaScript5 package at https://github.com/kriskowal/es5-shim but the author doesn't make many promises:

    "As closely as possible to ES5" is not very close. Many of these shims are intended only to allow code to be written to ES5 without causing run-time errors in older engines. In many cases, this means that these shims cause many ES5 methods to silently fail. Decide carefully whether this is what you want.

    Is there an EcmaScript 5 shim package that I can include with my JavaScript so I can use EcmaScript 5 features freely or if I want to get at least 75% English Speaking audience should I just stick to EcmaScript 3?

    Thank you.
    Last edited by cations; 06-01-2012 at 10:50 AM.

  2. #2
    Join Date
    Jul 2003
    Location
    The City of Roses
    Posts
    2,503
    Quote Originally Posted by cations View Post
    I was looking at browser usage statistics at http://www.w3schools.com/browsers/browsers_stats.asp and was completely shocked at the results.
    I wouldn't rely too much on W3Schools stats. They don't take a sampling from a wide variety of sites. Those stats are only for their site, and the demographic for a web dev site are the least likely to be using IE.

    The resource most commonly referenced these days is StatsCounter. Using these stats, IE is higher than W3Schools, but still lower than you expected. Chrome has been significantly cutting into IE's market share.
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  3. #3
    Join Date
    Mar 2011
    Posts
    1,148
    Actually, StatCounter shows similar results for IE8 (14.35&#37 when you request the information by Browser Version, so it's reasonable to believe that your website will see numbers in that range.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles