Exercise "bob" javascript

unfortunately i do not see why my regex will not work on this one :
const result = hey(‘Tom-ay-to, tom-aaaah-to.’); and my regex is: /[1]+$/.test(msg) which should exclude this one and return “whatever” but it returns “Whoa, chill out!” what do i miss here ?


  1. A-Z\s!., ↩︎

Can you share your entire solution, and the complete details of the failing test? Please use a codeblock to format both. Please do not use an image.