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.
xxxxxxxxxx42
var assert = require('assert');function decimalToBinary(num) { return num;}try { assert.equal(decimalToBinary(3), 11); console.log('PASSED: ' + 'decimalToBinary(3) should return 11');} catch (err) { console.log(err);}try { assert.equal(decimalToBinary(8), 1000); console.log('PASSED: ' + 'decimalToBinary(8) should return 1000');} catch (err) { console.log(err);}try { assert.equal(decimalToBinary(1000), 1111101000); console.log('PASSED: ' + 'decimalToBinary(1000) should return 1111101000');} catch (err) {OUTPUT
Results will appear here.