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.

Removed brackets when ** operator is used

See original GitHub issue

Expected Behavior

console.log((1-2) ** 2) should be obfuscated to console['log']((0x1 - 0x2) ** 0x2)

Current Behavior

Now it’s obfuscated to console['log'](0x1 - 0x2 ** 0x2)

Your Environment

https://obfuscator.io/

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pawelzwronekcommented, Feb 7, 2020

Great, it’s working, thanks!

1reaction
sanex3339commented, Feb 7, 2020

Released as 0.24.6

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remove brackets from an algebraic string containing + and
The idea is to check operators just before starting of bracket, i.e., before character '('. If operator is -, we need to toggle...
Read more >
Optional brackets while calling delete in C++ - Stack Overflow
First is clear to understand that shape is an argument to delete function. But what about the second? What's happening under the hood?...
Read more >
Remove brackets from an algebraic string containing + and
The idea is to check operators just before starting of bracket, i.e., before character '('. If operator is -, we need to toggle...
Read more >
Removing Brackets from an Algebraic String Containing + and
Removing Brackets from an Algebraic String Containing + and – Operators using C++ ; C in Depth: The Complete C Programming Guide for...
Read more >
Consider disabling the rule that removes 'unnecessary ...
Consider disabling the rule that removes 'unnecessary' brackets in basic operator expressions, or make it optional. #7154.
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