DEV Community

Discussion on: Welcome Thread - v138

Collapse
 
kees_devreugd profile image
Kees de Vreugd • Edited

Good day all,

I wanted to know the difference in performance between set.has() and array.includes() in JavaScript and Google was kind enough to bring me here.
As I suspected, set.has() is way more performant, if you're interested.

I'm working in the Maritime Industry, responsible for the safe operation and technical integrity of 20+ seagoing vessels.
Writing code, creating and learning algorithms, is my hobby (almost an unhealthy passion) and although I'm getting quite proficient in JavaScript and just started to learn Python, I still consider myself a noob. Still having difficulties wrapping my head around generators, go figure.
So, I'm sorry to say, I won't be able to contribute much. Just eager to learn as much as possible. You look like a friendly bunch to me, so I'm sure I'm forgiven.