Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function firstp(v)
- {
- var i,cur,l;
- if(v==null){return l;}
- for(i=0;i<v.lenght;i++)
- { cur=v[i].prezzo;
- if(m[cur]===undefined){ l={x:cur,succ:l};m[cur]=1;}
- } return l;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement