question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When Plato is parsing Javascript that is using the elvis operator '?' it throws exceptions

See original GitHub issue

return nounDict[freq?.toLowerCase()];

the following javascript cannot be parsed. I will try an update the packages to the latest versions.

I have the feeling it will fix it.

ta

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
the-simiancommented, Jun 1, 2021

could be related to #108 , which was also about the “elvis operator”/ optional chaning

1reaction
the-simiancommented, Jun 1, 2021

@IcodeNet did @Slapbox 's fix work? I am considering closing this one if its actually ok. If I don’t hear back I’ll assume its ok afterall

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · the-simian/es6-plato - GitHub
When Plato is parsing Javascript that is using the elvis operator '?' it throws exceptions. #116 opened on Jan 28, 2021 by IcodeNet....
Read more >
Is there a null-coalescing (Elvis) operator or safe navigation ...
You can use the logical 'OR' operator in place of the Elvis operator: For example displayname = user.name || "Anonymous" . But Javascript...
Read more >
Untitled
Estimulo malhar, Splet kola za igru, Comedies francaises en entier, Silver tree stump ring, Un feu de joie, Kvves kannur, Paris hotels with...
Read more >
Untitled
#global U88amb, Pine beetle wood uses, Leaving someone with bipolar? ... Simulis plumbing, 11-month baby throwing tantrums, Policijski sindikat celje, ...
Read more >
Untitled
Pizzeria via goffredo malaterra, Nintendo direct 10/23, San diego county ... Close window after redirect javascript, Manifolds metrizable, F2a55m-hd2, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found