Here is the code snippet I am working with:
import * as _routes from '../../routes'
console.log('parent:', _routes)
console.log('child:', _routes.breadcrumb)
This code produces the following output:
https://i.stack.imgur.com/dfhUt.png
I am puzzled by the fact that even though _routes
contains an object with breadcrumb
as one of its properties, accessing _routes.breadcrumb
still returns undefined
. Why is this happening?