1.0 KiB
1.0 KiB
title | id | challengeType | videoUrl | localeTitle |
---|---|---|---|---|
SEDOLs | 59d9c6bc214c613ba73ff012 | 5 |
Description
undefined
Instructions
undefined
Tests
tests:
- text: ''
testString: 'assert(typeof sedol === "function", "<code>sedol</code> is a function.");'
- text: ''
testString: 'assert(sedol("a") === null, "<code>sedol("a")</code> should return null.");'
- text: ''
testString: 'assert(sedol("710889") === "7108899", "<code>sedol("710889")</code> should return "7108899".");'
- text: ''
testString: 'assert(sedol("BOATER") === null, "<code>sedol("BOATER")</code> should return null.");'
- text: ''
testString: 'assert(sedol("228276") === "2282765", "<code>sedol("228276")</code> should return "2282765".");'
Challenge Seed
function sedol (input) {
// Good luck!
return true;
}
Solution
// solution required