Processing
 

Browser support for Default Parameters of ES6 with IE7 and IE9

08/09/2016 08:18#1

Joined at: 10 months ago

Post: 5

Thank: 0

Thanked: 0

Say I want to use an ES6 feature like Default Parameter Values: http://es6-features.org/#DefaultParameterValues ). I would end up writing some code like this:

function myFunc(a, b = 0) {    // function body } 

It would seem that this feature would not work on say IE7 or IE9 (https://kangax.github.io/compat-table/es6/ ). However, it does seem to be supported by polyfill libraries. E.g. with Babel (https://babeljs.io/docs/usage/polyfill/ )

So, the question is - if I used this feature (along with a polyfill library) would my code break if someone came along with an older browser such as IE9 or IE7?

Similar articles

IE9 dosen't support my Button Tag

4 months ago - Reply: 0 - Views: 14

SSRS 2016 Web protal in IE8

4 months ago - Reply: 0 - Views: 13

how to handle @keyframes not supported by ie9?

4 months ago - Reply: 0 - Views: 5

Detect Windows XP in Firefox with JS

4 months ago - Reply: 1 - Views: 47

IE8 Not showing divs with floats

4 months ago - Reply: 2 - Views: 130

Including ECMA 5 script in IE8

5 months ago - Reply: 1 - Views: 98

XDomainRequest does not work in ie8 & ie9

5 months ago - Reply: 0 - Views: 10

How to minify angular.js?

5 months ago - Reply: 1 - Views: 30

VBA and IE8 - scrape text buried in table

5 months ago - Reply: 1 - Views: 37

Detect http satus IE10

5 months ago - Reply: 0 - Views: 6

how to compress angular.js?

5 months ago - Reply: 0 - Views: 3

vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re