How to dynamically add cells to a table using JS?
Tell me how to write the code for such a task correctly.
There is a table with inputs by type: https://jsfiddle.net/v9ckyu3w/2/
Task: when inserting an array, for example [[1,2,3], [1,2,3], [1,2,3]], starting from this input , lines should be added, in the amount = length of array and columns, in number = length of subarrays.
When pasted into B1, you should get: https://jsfiddle.net/Ltz0s8x5/
To place the code, please use CodePen or similar tool. Thanks you!