Skip to main content
1 of 3
emanresu A
  • 44.3k
  • 5
  • 100
  • 240

JavaScript (Node.js), 111 bytes

f=y=>(x=>{for(;typeof y=='string'&&x===x;);})(f['constructor'](`return +[${y.replace(/[^W-`*-0]/g,'[+]')}]`)())

Try it online!

Probably easy :(

emanresu A
  • 44.3k
  • 5
  • 100
  • 240