Skip to content

Instantly share code, notes, and snippets.

@Kledenai
Created January 7, 2020 19:49
Show Gist options
  • Save Kledenai/f5d3ba6f19e119b5a9e5d57733d599c9 to your computer and use it in GitHub Desktop.
Save Kledenai/f5d3ba6f19e119b5a9e5d57733d599c9 to your computer and use it in GitHub Desktop.
Exemplo de um bloco de código
const verHora = () => {
let hora = new Date();
let h = hora.getHours();
let m = hora.getMinutes();
let s = hora.getSeconds();
console.log(`${h}:${m}:${s}`);
}
verHora();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment