Guest User

Untitled

a guest
Nov 6th, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. new URL("d:\file.txt")
  2. hash: ""
  3. host: ""
  4. hostname: ""
  5. href: "file:///D:/file.txt"
  6. origin: "file://"
  7. password: ""
  8. pathname: "/D:/file.txt"
  9. port: ""
  10. protocol: "file:"
  11. search: ""
  12. searchParams: URLSearchParams {}
  13. username: ""
  14.  
  15. new URL("d:\file.txt")
  16. hash: ""
  17. ​host: ""
  18. ​ hostname: ""
  19. ​href: "d:\file.txt"
  20. ​origin: "null"
  21. ​ password: ""
  22. ​pathname: "\file.txt"
  23. ​port: ""
  24. ​ protocol: "d:"
  25. ​search: ""
  26. ​searchParams: URLSearchParams { }
  27. ​ username: ""
  28.  
  29. node -e "console.log(new URL('d:\file.txt'))"
  30. hash: ''
  31. host: ''
  32. hostname: ''
  33. href: 'd:\file.txt'
  34. origin: 'null'
  35. password: ''
  36. pathname: '\file.txt'
  37. port: ''
  38. protocol: 'd:'
  39. search: ''
  40. searchParams: URLSearchParams {}
  41. username: ''
Add Comment
Please, Sign In to add comment