The ruby method ```downcase``` is incorrectly translated. ```ruby a.strip.downcase ``` translates to ```js a.trim().toLowerCase ``` It should be ```js a.trim().toLowerCase() ``` Note that strip is correctly translated.