A Ruby/JS Equivalence
This is a Ruby function    def new_count(word)   word.downcase!   return 1 if word.length &lt;= 3  ...
Tags: ruby, javascript, software