mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 03:01:48 +03:00
20 lines
249 B
JavaScript
20 lines
249 B
JavaScript
|
'use strict';
|
||
|
|
||
|
/** @module example */
|
||
|
|
||
|
/**
|
||
|
* An ES6 class.
|
||
|
*
|
||
|
* @alias module:example
|
||
|
*/
|
||
|
class Foo {
|
||
|
constructor() {
|
||
|
/**
|
||
|
* My property.
|
||
|
*
|
||
|
* @protected
|
||
|
*/
|
||
|
this._someProperty = 'foo';
|
||
|
}
|
||
|
}
|