--- id: 587d7b8d367417b2b2512b59 title: Import a Default Export challengeType: 1 videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'getUserInput => assert(getUserInput("index").match(/import\s+subtract\s+from\s+"math_functions"/g), "Properly imports export default method.");' ```
## Challenge Seed
```js "use strict"; subtract(7,4); ```
### Before Test
```js window.require = function(str) { if (str === 'math_functions') { return function(a, b) { return a - b; }}}; ```
## Solution
```js // solution required ```