Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Honk {
- public a;
- public b;
- constructor() {
- const rv = dazzle();
- this.a = rv.c;
- this.b = rv.d;
- }
- }
- function dazzle() {
- return {
- c: 3,
- d: 4,
- };
- }
- console.log(new Honk());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement