Posts by Marcelo Camargo • 286 points
3 posts
-
0
votes1
answer75
viewsA: Countdown of a list passing in an if
You can just use setIntervalto apply the reduction in the values according to the time and, after the end, clear the execution: var emailsToSend = 10; var counter =…
javascriptanswered Marcelo Camargo 286 -
11
votes3
answers7520
viewsA: What is void in javascript?
It is an operator built to allow side effects in places where an expression is desired that evaluates to undefined, but without the direct use of this global variable. void expr has the same…
javascriptanswered Marcelo Camargo 286 -
3
votes1
answer332
viewsA: How do I make the sublime text mark a word as keyword?
It’s relatively simple. You can edit the current PHP syntax package and include the reserved words. The syntactic definition files have, by default, the extension .tmLanguage. You need to locate…