This example is correct but perhaps misleading. `export default {x}` means "create a default export containing an object whose sole property is named 'x' and whose value is the current value of `x`". This looks similar to `export {x}`, which means "create a named export binding for `x` such that imports will always reflect the current value of `x`". Esprima doesn't have to worry so much about their semantic differences at runtime, but for the sake of the tests it might be better to choose a different example.