You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classJSEtest{set #m(v){this._v=v;}method(){letself=!this;functioninnerFunction(){self.#m ='Test262';}innerFunction();}}letc=newJSEtest();c.method();assert.sameValue(c._v,'Test262');leto={};assert.throws(TypeError,function(){c.method.call(o);},'accessed private setter from an ordinary object');
Execution steps & Output
$ ./jerryscript/build/bin/jerry poc.js
ICE: Assertion 'ecma_is_value_object (value)' failed at jerryscript/jerry-core/ecma/base/ecma-helpers-value.c(ecma_get_object_from_value):838.
Error: ERR_FAILED_INTERNAL_ASSERTION
[1] 25286 abort jerry poc.js