let data = {123456789345} data.substring(6, 10) - 1; // 从第6位开始取到第10位 console.log('现在的值是', data) // data:{78934}