--- id: 587d7b8c367417b2b2512b58 title: Create an Export Fallback with export default challengeType: 1 videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'getUserInput => assert(getUserInput("index").match(/export\s+default\s+function\s+subtract\(x,y\)\s+{return\s+x\s-\s+y;}/g), "Proper used of export fallback.");' ```
## Challenge Seed
```js "use strict"; function subtract(x,y) {return x - y;} ```
### Before Test
```js window.exports = function(){}; ```
## Solution
```js // solution required ```