Debian Codegraph @

packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/const/exec.js

raw
1 const getState = () => ({});
2
3 const { data: { courses: oldCourses = [] } = {} } = getState();
4
5 expect(oldCourses).toEqual([]);