Issue in solving https://leetcode.com/problems/pascals-triangle/

I am trying to solve this problem using recursion.
I am using javascript lang.

I started from row 3, as row 1 and 2 will always be same value.
var generate = function(numRows) {
let pascal = [[1], [1,1]];
generateHelper(numRows, 3, pascal);
return pascal;

};

var generateHelper = function(numRows,currentRow, pascal){
if(numRows === currentRow){

}

}

Hey @abhidatta146 Can you send me your full code bcoz here due to some glitch part of code is removed.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

ok , closing this, thanks