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.
xxxxxxxxxx18
var assert = require('assert');function numberToWords(n) { // convert n to words return n;}try { assert.equal(numberToWords(1234), 'one thousand two hundred and thirty four'); console.log( 'PASSED: ' + "assert.equal(numberToWords(1234), 'one thousand two hundred and thirty four');" );} catch (err) { console.log(err);}OUTPUT
Results will appear here.