This commit is contained in:
Asger F 2024-02-01 20:54:27 +01:00
Родитель aa5cccdddd
Коммит 8a2485a22f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -8,7 +8,7 @@
* However, there are cases where classes and functions can be exposed to client
* code without being accessible as a qualified name. For example;
* ```js
* // 'Foo' is internal, but clients can reach its methods via `getFoo().m()`
* // 'Foo' is internal, but clients can call its methods, e.g. `getFoo().m()`
* class Foo {
* m() {}
* }
@ -16,7 +16,7 @@
* return new Foo();
* }
*
* // Clients can reach m() via getObj().m()
* // Clients can call m() via getObj().m()
* export function getObj() {
* return {
* m() {}