Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function findBiggestElement(matrix){
- let max = Math.max(...[].concat(...matrix));
- console.log(max);
- }
- findBiggestElement([[20, 50, 10],
- [8, 33, 145]])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement