Your Submissions
You haven't submitted any code for this challenge yet. Solve the problem by passing all the test cases, and your submissions will appear here.
xxxxxxxxxx35
var assert = require('assert');function getTV(actual, guess) { let targets = 0; let vicinities = 0; // fill this in return `${targets}T${vicinities}V`;}try { assert.equal(getTV('345', '135'), '1T1V'); console.log('PASSED: ' + "getTV('345', '135') should return '1T1V'");} catch (err) { console.log(err);}try { assert.equal(getTV('01', '01'), '2T0V'); console.log('PASSED: ' + "getTV('01', '01') should return '2T0V'");} catch (err) { console.log(err);}OUTPUT
Results will appear here.