Unfortunately, knowing that the actual version will not help you, due to a lack / broken implementation.
You better test a method that fears that an older browser might not support, etc.
eg. if support is IE5 and you want to use the Array.push () method, you can do something like:
if(typeof(Array.prototype.push) == 'undefined'){
Array.prototype.push = function(item){
var len = this.length;
this[len] = item;
return this.length;
};
}
script - - .
<script language="JavaScript1.2">...</script>
<script type="text/javascript">...</script>
<script>...</script>
XHTML , , XML, script .
<script type="text/javascript">
<![CDATA[
//your code here...
]]>
</script>