JavaScript Example Code
// ˅
'use strict';
// ˄
export const Foo = Object.freeze({
Red: Symbol(),
Green: Symbol(),
Blue: Symbol()
});
// ˅
// ˄
JavaScript Example Code
// ˅
'use strict';
// ˄
export class Foo {
// ˅
// ˄
set sum() {
// ˅
throw new Error('Not implemented');
// ˄
}
// ˅
// ˄
}
// ˅
// ˄
Using TaggedValue
JavaScript Example Code
// ˅
'use strict';
// ˄
@sealed
export class Foo {
// ˅
// ˄
// ˅
// ˄
}
// ˅
// ˄
Using Stereotype
JavaScript Example Code
// ˅
'use strict';
// ˄
@sealed
export class Foo {
// ˅
// ˄
// ˅
// ˄
}
// ˅
// ˄
JavaScript Example Code
// ˅
'use strict';
// ˄
class Foo {
// ˅
// ˄
// ˅
// ˄
}
// ˅
// ˄