Skip to main content

Bug Tracker

Side navigation

Ticket #6335: test.html
File test.html, 0.5 KB (added by HomerJ, March 22, 2010 01:36PM UTC)
<html>
<head>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
</head>
<body>
<script type="text/javascript">
var eventIds = [ "b5f4cea2-5585-457d-a1fd-11429bdf06e3", "b5f4cea2-5585-457d-a1fd-11429bdf06e3", "8af91d35-2dba-4281-a3b5-4dde09a0e4fc", "8af91d35-2dba-4281-a3b5-4dde09a0e4fc" ]; 
eventIds = $.unique(eventIds);
for(p in eventIds) {
   alert(eventIds[p]);
}

alert(eventIds[0] === eventIds[2] ? "true" : "false");

</script>
</body>
</html>

Download in other formats:

Original Format