結果 : how to make function parameter case insensitive in javascript