51

昨天面试,今天发现面试官 2 个问题都弄错了

 6 years ago
source link: https://www.v2ex.com/t/459395
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
JavaScript - @lazyzml - 首先第一个问题是\w 匹配什么,我说的匹配小写 a-z,然后他说不对,是匹配空格,tab 符那些。然后第二个问题是 js 如何数组去重我回答第一个方法是 new Set(arr)去重,

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK