Update jsdoc

This commit is contained in:
Anton Gunov
2018-04-09 23:30:33 +03:00
parent 7751cdd839
commit 4214de92fc

View File

@@ -18,8 +18,10 @@ const rcut = (str, of) => {
/**
* Extract a domain name from a URL.
*
* @param {string} url
* @returns {string}
*/
module.exports = (url) => {
// removes whitespace from both ends of a URL
let next = url.trim();