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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
/*sinceHow | |
@Author Simone Luise | |
@Mail me@simoneluise.com | |
A simple function to calcunate how much time has elapsed since a date. | |
The funcion have only one attribute: "time". | |
Time must be a valid string for generate a new Data() object. Like: |