Skip to content

Instantly share code, notes, and snippets.

@DylanCh
Last active May 27, 2019 13:43
Show Gist options
  • Save DylanCh/6951199f9fab4259e50064a3caab182f to your computer and use it in GitHub Desktop.
Save DylanCh/6951199f9fab4259e50064a3caab182f to your computer and use it in GitHub Desktop.
document API
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