Posts by repeatdomiau • 151 points
3 posts
-
2
votes2
answers4433
viewsA: The concept of High Order Functions in Javascript
I know it’s been years, but I’m going to leave a contribution to that question for people from the future who fall for it... In addition to what was put by Sergio in the accepted answer, it is worth…
javascriptanswered repeatdomiau 151 -
1
votes2
answers286
viewsA: How to generate number without repetition with a pause button?
What I would do is this: First use setInterval instead of setTimeout: var myVar = setInterval(function(){ gerarNumero() }, 1000); When you want to stop, use clearInterval: clearInterval(myVar); The…
javascriptanswered repeatdomiau 151 -
2
votes2
answers448
viewsA: SQL Injection or Script Injection - MVC-5 - Is it a concern?
I think there’s a mix-up going on between the technologies. ASP.NET MVC is a framework for WEB, as such it is capable of protecting against: HTML Injection, when someone places HTML tags in a text…