Last active
May 27, 2019 13:43
-
-
Save DylanCh/6951199f9fab4259e50064a3caab182f to your computer and use it in GitHub Desktop.
document API
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
var video = document.createElement('video'); | |
// internally console.log calls .toString() if the parameter is not a string. | |
console.log(video); | |
/* | |
output: | |
[object HTMLVideoElement] | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment