📅  最后修改于: 2022-03-11 15:02:00.562000             🧑  作者: Mango
const string="Hi my name is mezen";
string.slice (2); // return string without the character of index 2;
string.slice (6); // return string without the character of index 6;
string.slice (3,7) /* return 'my na' (m of index 3; a of index 7) including the
blank spaces */