# 709. To Lower Case ## 題目概要 將字串內容轉為小寫。 ``` Example 1: Input: s = "Hello" Output: "hello" Example 2: Input: s = "here" Output: "here" Example 3: Input: s = "LOVELY" Output: "lovely" ``` ## 解題技巧 - 用 `str.toLowerCase()` 解。 ## 程式碼 ```javascript= /** * @param {string} s * @return {string} */ var toLowerCase = function(s) { return s.toLowerCase(); }; ``` ![](https://i.imgur.com/8OoaQIh.png)