Skip to content

Commit

Permalink
full coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattmart42 committed May 2, 2024
1 parent b42e54f commit c5f48a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default function generate(program) {
MemberExpression(e) {
const object = gen(e.object)
const field = JSON.stringify(gen(e.field))
const chain = e.op === '.' ? '' : e.op
const chain = '.'
return `(${object}${chain}[${field}])`
},
FunctionCall(c) {
Expand Down

0 comments on commit c5f48a0

Please sign in to comment.