Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div id="test"></div>
<script type="text/javascript">
var str = ["javascript", "jquery", "angularjs", "backbonejs", "angularjs","javascript"];
i = 0;
for (var count = 0; count < str.length; count++) {
i = i + 1;
for (var count1 = i; count1 < str.length; count1++) {
if (str[count] == str[count1]) {
str.splice(count1, 1);
}
}
}
document.getElementById("test").innerText = str;
</script>
</body>
</html>
The most helpful JAVASCRIPT solutions
How can I get the last day and the next day in javascript ?JAVASCRIPT Click to see more ... 5.8K 507