DIFFERENCE in JS
Description
Sample Source Pattern
Implementation Example
function DIFFERENCE(strA, strB) {
var count = 0;
for (var i = 0; i < strA.length; i++){
if ( strA[i] == strB[i] ) count++;
}
return count;
}Arguments
Return Type
Examples
Last updated
Was this helpful?