aboutsummaryrefslogtreecommitdiffstats
path: root/signaling-server/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/goto.js
blob: 945960c2e4630047832e58c18df7745113cd1ae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
function unique(arqw) {
        var a = [], i, j
        outer: for (i = 0; i < arqw.length; i++) {
                for (j = 0; j < a.length; j++) {
                        if (a[j] == arqw[i]) {
                                continue outer
                        }
                }
                a[a.length] = arqw[i]
        }
        return a
}


function unique(arqw) {
        var crap = [], i, j
        outer: for (i = 0; i < arqw.length; i++) {
                for (j = 0; j < crap.length; j++) {
                        if (crap[j] == arqw[i]) {
                                continue outer
                        }
                }
                crap[crap.length] = arqw[i]
        }
        return crap
}