SOURCE

let xhr = new XMLHttpRequest();
xhr.open('get', 'https://v1.hitokoto.cn');
xhr.onreadystatechange = function () {
    if (xhr.readyState === 4) {
        console.log(JSON.parse(xhr.responseText).hitokoto)
    }
}
xhr.send();
console 命令行工具 X clear

                    
>
console