TGViewer
JavaScript test JavaScript test @js_test · 9.75K subscribers
Post #6557 92
❗️Что будет на выходе:

class MyClass {
constructor() {
this.a = 100;
}
}
MyClass.prototype.b = 200;
const obj = new MyClass();
delete obj.b;
console.log(obj.a);

Ответ: 100


JavaScript test | #JavaScript & Max
More from @js_test
  1. Sep 26, 2026❗️Что будет на выходе: const regex = /a/g; const str = 'banana'; console.log(str.match(reg…
  2. Sep 25, 2026❓Что будет на выходе? 'use strict'; function strictModeExample() { undeclaredVariable = 10…
  3. Sep 25, 2026❓Что будет на выходе? function mystery(x) { return (function(y) { return x + y; })(x * 2);…
  4. Sep 24, 2026❗️Что будет на выходе: const str = " Hello, World! "; const result = str .trim() .split(",…
  5. Sep 24, 2026❗️Что будет на выходе: function highlight(strings, ...values) { return strings.reduce((res…
  6. Sep 24, 2026❗️Что будет на выходе: function processData({ a = 10, b = 20 } = { a: 30 }) { console.log(…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →