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.
xxxxxxxxxx45
var assert = require('assert');function firstNonRepeat(str) { // fill this in return str;}try { assert.equal(firstNonRepeat(''), ''); console.log('PASSED: ' + "`firstNonRepeat('')` should return `''`");} catch (err) { console.log(err);}try { assert.equal(firstNonRepeat('a'), 'a'); console.log('PASSED: ' + "`firstNonRepeat('a')` should return `'a'`");} catch (err) { console.log(err);}try { assert.equal(firstNonRepeat('oh my god dude where is my car'), 'g'); console.log(OUTPUT
Results will appear here.