mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
441391b9eb
handle ES2015 Class, contructor, and instance methods unrelated: update Makefile so that generated HTML is out of date whenever tools/doc/apilinks.js is updated. PR-URL: https://github.com/nodejs/node/pull/22656 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
13 lines
146 B
JavaScript
13 lines
146 B
JavaScript
'use strict';
|
|
|
|
// An exported class using ES2015 class syntax.
|
|
|
|
class Class {
|
|
constructor() {};
|
|
method() {};
|
|
}
|
|
|
|
module.exports = {
|
|
Class
|
|
};
|