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.

MemberExpression over ObjectExpression ({ x: 1 }.x) should throw

See original GitHub issue

Hello! This is JavaScript behaviour in browser when I run { x: 1 }.x: SyntaxError: Unexpected token '.'

But jsep allows this kind of expressions. Is it bug or feature?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
6utt3rflycommented, Oct 4, 2021

All good 😃

1reaction
grimalschicommented, Oct 4, 2021

Looks like I was wrong, sorry

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - MemberExpression as object of its type - Stack Overflow
GetProperty(field); if (propertyInfo == null) throw new ArgumentException(string.Format("{0} doesn't exist on {1}", field, entityType.
Read more >
Reconstructing TypeScript, part 1: bidirectional type checking
Usually it's OK to write an expression where a statement is expected, but for object expressions you need to wrap parentheses around them,...
Read more >
C++ Standard Core Language Defect Reports and Accepted ...
C++ Standard Core Language Defect Reports and Accepted Issues, Revision 110. This document contains the C++ core language issues that have been categorized ......
Read more >
XL C/C++: Language Reference - IBM
This document describes the syntax, semantics, and IBM® XL C/C++ for AIX® implementation of the C and C++ programming languages. Although the XL...
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