Full threadswitz·I believe your code is incorrect: for(var i=0; i < links.length; j++){ // j++ => i++View on HN