Last active
December 5, 2016 01:42
-
-
Save samverneck/d28c3e9868a7d9138fc917c059ea52da to your computer and use it in GitHub Desktop.
jeito super rápido e prático de gerar números randômicos utilizando js.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fazendo a brincadeira com um número de 1 a 100, seria simplesmente assim | |
//exemplo utilizando node.js | |
var _ = require('lodash'); | |
var numero = _.random(1, 100); | |
console.log(numero) | |
//https://lodash.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment