Skip to content

Commit 7a23a1f

Browse files
authored
Update js codes.docx
1 parent a34e9f3 commit 7a23a1f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎js codes.docx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ function confirmEnding(str,target){
487487
}
488488
console.log(confirmEnding("priya","a"))
489489
===============================================================================================================================================================================
490-
Code 39: To find the largest elements fro the 2 diensional array
490+
Code 39: To find the largest elements fro the 2 dimensional array
491491
function largestFromArray(arr){
492492
var max=[];
493493
for(var i=0; i<arr.length;i++){
@@ -505,7 +505,7 @@ function largestFromArray(arr){
505505
}
506506
largestFromArray([[1,2,3,4],[5,6,7,9],[45,76,2,1],[89,90,87,9]])
507507
================================================================================================================================================================================
508-
Code 40: To find the largest elements fro the 2 diensional array in another way
508+
Code 40: To find the largest elements fro the 2 dimensional array in another way
509509
function largestFromArray(arr){
510510
var max=[0,0,0,0];
511511
for(var i=0; i<arr.length;i++){

0 commit comments

Comments
 (0)