Create an Export Fallback with export default help

Create an Export Fallback with export default help
0

#1

Tell us what’s happening:

Your code so far


"use strict";
export default function subtract(x,y) {
    return x - y;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/create-an-export-fallback-with-export-default/


#2

this challenge is picky about spaces. Just reset the code and add your export default statement again without touching the spacing on the function.