returnColumn の仕組みがよくわかりません

順を追って説明していきます。
2021年2月1日
ユーザー
function createColumn(col){
    const source = [];
    for (let i = 0; i < 15; i++) { 
      source[i] = i + 1+15 * col;
     }
     console.log(source);
     const column = [];
     for(let i = 0; i < 5; i++) {
     column[i] = source.splice(Math.floor(Math.random() * source.length),1)[0];
   }
   return column;
  }

このreturnColumnは、

 for(let i = 0; i < 5; i++) {
     column[i] = source.splice(Math.floor(Math.random() * source.length),1)[0];
   }

上の処理を終えた後にconst column =[ ] に返された値が入る。
その上で、createColumnに引数として代入の認識で宜しいでしょうか?

ご教授頂けると助かります。

この回答を見るにはプレミアムプランへの登録が必要です

プレミアムプランとは?