Posts by silvioprog • 191 points
4 posts
-
3
votes7
answers30495
viewsA: How to differentiate phone types
After studying the response of Zuul and analyse this article from Anatel, I adapted his solution (in Javascript) for the two main programming languages I use: Java and Object Pascal. Creating the…
-
5
votes2
answers2350
viewsA: Run code only after setTimeout runs
As far as I know that’s not possible, because the setTimeout() works as a kind of thread, that is, it is asynchronous. What you can do is add a new function and call it within the timeout, something…
javascriptanswered silvioprog 191 -
1
votes1
answer1124
viewsA: How to obtain the value of a property and how to obtain the property in which the attribute is declared?
If I understand your question correctly, it will depend a little on the way your project was modeled, because there are N ways to dynamically obtain information from the properties of an object.…
-
0
votes0
answers89
viewsQ: How do I check if a particular number is from a mobile phone?
Expensive, After reading the comments ON THIS TOPIC, dated 2014, I ask: currently, to check if a number is a mobile phone, just read the string backwards, checking if the eighth character is a…
algorithmasked silvioprog 191