DEV Community

Discussion on: Anagrams Checker - Three JavaScript Solutions

Collapse
 
joeberetta profile image
Joe Beretta

I thought about using \W instead of ^w as you wrote)

Collapse
 
calebpitan profile image
Caleb Adepitan

There's really no difference, it's just left to choice.

Thread Thread
 
joeberetta profile image
Joe Beretta

Know it. But I think this way is more elegant and perfomance