rauchg / blog

https://rauchg.com
1.24k stars 175 forks source link

ES6 string checking #21

Closed ghost closed 6 years ago

ghost commented 6 years ago

Should we change (res.info.match(/^h2/)) to (res.info.includes("h2")) (ES6) ?