mattposch
5/18/2014 - 10:05 AM

Display what JS version your browser is supporting

Display what JS version your browser is supporting

<html>
<head>
	<title>Which JS Version?</title>
</head>
<body>

<script type="text/javascript">
var jsver = 1.0;
</script>
<script language="Javascript1.1">
jsver = 1.1;
</script>
<script language="Javascript1.2">
jsver = 1.2;
</script>
<script language="Javascript1.3">
jsver = 1.3;
</script>
<script language="Javascript1.4">
jsver = 1.4;
</script>
<script language="Javascript1.5">
jsver = 1.5;
</script>
<script language="Javascript1.6">
jsver = 1.6;
</script>
<script language="Javascript1.7">
jsver = 1.7;
</script>
<script language="Javascript1.8">
jsver = 1.8;
</script>
<script language="Javascript1.9">
jsver = 1.9;
</script>
<script type="text/javascript">
document.write('<p><b>Javascript version ' + jsver
+ ' supported<\/b><\/p>');
</script>


</body>
</html>