diff --git a/hamming.js b/hamming.js index 7c7ea3b..1b9d2e0 100644 --- a/hamming.js +++ b/hamming.js @@ -1,17 +1,11 @@ -// -// This is only a SKELETON file for the 'Hamming' exercise. It's been provided as a -// convenience to get you started writing code faster. -// Make sure to look at test.script.js--that should give you some hints about what is -// expected here. - -'use strict'; - function Hamming() {}; - Hamming.prototype.compute = function (strand1, strand2) { -// -// YOUR CODE GOES HERE -// -}; +var diff = 0; +for (i = 0; i