-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Node.js will stuck when exec Object.defineProperty(Array.prototype, '-1', {get: function(){return this[this.length - 1]}})
in REPL
#36669
Comments
I can reproduce this. Here is the output with the
For reference, here's the output when setting
|
Try to find the problem through the Profile. And I found out why. The problem is caused by ProfileError CodeLines 240 to 241 in e57d8af
Lines 314 to 317 in e57d8af
Details
Lines 833 to 834 in e57d8af
|
What steps will reproduce the bug?
When exec these code in REPL, the Node.js will let cpu occupancy rate become 100% and stuck itself.
How often does it reproduce? Is there a required condition?
100% reproduce.
What is the expected behavior?
What do you see instead?
Additional information
It can be reproduce in Node.js v14.8.0 on my Android's termux.
The text was updated successfully, but these errors were encountered: