SOURCE

let str ="2019-08-22T06:55:44+08:00";
let res = str.slice(11,16);
console.log(res);

console 命令行工具 X clear

                    
>
console