Posts by Fábio Santos • 126 points
2 posts
- 
		0 votes3 answers187 viewsA: Traverse an array and insert values in the middle of itYou can use the Array.prototype.reduce function, look at the last character of the first argument and the second argument, see if they are the two odd/pairs, and return the number with potentially… javascriptanswered Fábio Santos 126
- 
		1 votes1 answer100 viewsA: Management of phone calls on Android"Completed link" is not a state. It is a transition from one state to another. IDLE is what you are looking for. If an IDLE happens after an OFFHOOK it is because there has been a completed call.… androidanswered Fábio Santos 126