-
-
Save edinsoncs/3a2ff68458fc962adca6aa1768980281 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| function readDoc(doc) { | |
| var descovery = doc.doctype; | |
| console.log('Document is: ' + ' <!DOCTYPE html>'); | |
| console.log(descovery); | |
| console.log(descovery.name + ' IS NAME HTML'); | |
| } | |
| readDoc(document); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment