xref: /third_party/node/test/fixtures/apilinks/exports.js (revision 1cb0ef41)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/test/fixtures/apilinks/
11cb0ef41Sopenharmony_ci'use strict';
21cb0ef41Sopenharmony_ci
31cb0ef41Sopenharmony_ci// Support `exports` as an alternative to `module.exports`.
41cb0ef41Sopenharmony_ci
51cb0ef41Sopenharmony_cifunction Buffer() {};
61cb0ef41Sopenharmony_ci
71cb0ef41Sopenharmony_ciexports.Buffer = Buffer;
81cb0ef41Sopenharmony_ciexports.fn1 = function fn1() {};
91cb0ef41Sopenharmony_ci
101cb0ef41Sopenharmony_civar fn2 = exports.fn2 = function() {};
111cb0ef41Sopenharmony_ci
121cb0ef41Sopenharmony_cifunction fn3() {};
131cb0ef41Sopenharmony_ciexports.fn3 = fn3;
14

Indexes created Thu Nov 07 10:32:03 CST 2024