« first day (2309 days earlier)      last day (1808 days later) » 

4:02 AM
function symbolId(symbol) {
let id = symbolId.list.indexOf(symbol);
if (id < 0) id = symbolId.list.push(symbol) - 1; // I do not get it as well
return `\uF8FF${id}`; //whaaat?
}
symbolId.list = []; // what is this? where can I read about this syntax
 
1 message moved from JavaScript
 
I am having hard time to understand this syntax. Anyone can expalin it to me?
```function symbolId(symbol) {
let id = symbolId.list.indexOf(symbol);
if (id < 0) id = symbolId.list.push(symbol) - 1; // I do not get it as well
return `\uF8FF${id}`; //whaaat?
}
symbolId.list = []; // what is this? where can I read about this syntax```
 
1 message moved from JavaScript
 
I am having hard time to understand this syntax. Anyone can expalin it to me?
`function symbolId(symbol) {
let id = symbolId.list.indexOf(symbol);
if (id < 0) id = symbolId.list.push(symbol) - 1; // I do not get it as well
return `\uF8FF${id}`; //whaaat?
}
symbolId.list = []; // what is this? where can I read about this syntax`
 
1 message moved from JavaScript
 
 
1 hour later…
6:22 AM
12 messages moved from GMTs
 
 
5 hours later…
 
2 hours later…
 
1 hour later…
 
1 hour later…
 
2 hours later…
@MehdiB. plz trash the link above
 
1 message moved from Android
 

« first day (2309 days earlier)      last day (1808 days later) »