Very easy and simple solution in JavaScript!!! WoW. Just watch it. :)
\n# Code\n\n/**\n * @param {number[]} nums\n * @return {number}\n */\nvar findLengthOfLCIS = function(nums) {\n    let max = 0, curr = 0\n    for(let i = 0 ; i 
\n# Code\n```\n/**\n * @param {number[]} nums\n * @return {number}\n */\nvar findLengthOfLCIS = function(nums) {\n    let max = 0, curr = 0\n    for(let i = 0 ; i < nums.length; i++) {\n        if(nums[i] < nums[i + 1]) {\n            curr++\n            max = Math.max(max, curr)\n        } else {\n            curr = 0\n        }\n    }\n    return max > 0 ? max + 1 : 1\n};\n```
['JavaScript']