Javascript: Which browsers support prototype inheritance?

I don’t use a prototype at present because I remember that the day I read the article which stated that Prototype is not supported in IE 7 and below, but I can not find this article again, but By the way, there were It would be nice to know how this is supported in general.

+5
source share
5 answers

JScript (Microsoft's Javascript interpretation) supports the prototype property since version 2.0 ( MSDN ). The first version of Internet Explorer that supports JScript 2.0 was IE 3 ( MSDN ).

I would say that you are safe with IE7!


: , -, Node. IE >= 7, . perfectionkills.com.

+11

.prototype JS, Javascript. ECMA-262, 1999 :

ECMAScript , , ++, Smalltalk Java, , , , . , . , . ; , ( "String" ) . . , String ( "String" ) , .

+4

Prototype (1.7) :

Browser         Version(s)
Mozilla Firefox β‰₯ 1.5
Microsoft Internet Explorer for Windows β‰₯ 6.0
Apple Safari    β‰₯ 2.0.4
Google Chrome   β‰₯ 1.0
Opera           β‰₯ 9.25

IE7 .

+2

Prototype, , IE6 .

[EDIT]

. " Javascript", ? Javascript, (, String.Prototype.trim = function() {...}), , , , IE7.

+1

According to the Prototype website , it is compatible with IE6 + and a number of other browsers. However, I rarely use it, so I cannot speak from experience.

0
source

All Articles