--- title: Jaro distance id: 5a23c84252665b21eecc7ec2 challengeType: 5 videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert(typeof jaro=="function","jaro should be a function.");' - text: '' testString: 'assert(typeof jaro(tests[0][0],tests[0][1])=="number","jaro() should return a number.");' - text: '' testString: 'assert.equal(jaro(tests[0][0],tests[0][1]),results[0],"jaro(""+tests[0][0]+"",""+tests[0][1]+"") should return "+results[0]+".");' - text: '' testString: 'assert.equal(jaro(tests[1][0],tests[1][1]),results[1],"jaro(""+tests[1][0]+"",""+tests[1][1]+"") should return "+results[1]+".");' - text: '' testString: 'assert.equal(jaro(tests[2][0],tests[2][1]),results[2],"jaro(""+tests[2][0]+"",""+tests[2][1]+"") should return "+results[2]+".");' - text: '' testString: 'assert.equal(jaro(tests[3][0],tests[3][1]),results[3],"jaro(""+tests[3][0]+"",""+tests[3][1]+"") should return "+results[3]+".");' - text: '' testString: 'assert.equal(jaro(tests[4][0],tests[4][1]),results[4],"jaro(""+tests[4][0]+"",""+tests[4][1]+"") should return "+results[4]+".");' ```
## Challenge Seed
```js function jaro (s, t) { // Good luck! } ```
### After Test
```js console.info('after the test'); ```
## Solution
```js // solution required ```