去除前后空格

const trim = function(string) {
  return (string || '').replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g, '');
};

就你叫洛
21 声望0 粉丝