Welcome to mirror list, hosted at ThFree Co, Russian Federation.

constModule.js « testLib - github.com/twbs/rewire.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 360a0f5a037b64a21251fd1dbb46c434df638ad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
const j = "j"; // At the beginning of the file
// This module contains some weird combinations where valid const declarations could appear.
// Syntax oddities are totally on purpose here.
const a = require("./someOtherModule");const b = "b"; const e = "e"
const c = "c";
{}const d = "d";
 const f = "f"; // there's an irregular whitespace before and after const
const
g = "g";
const/*wtf this is valid*/h = "h";
const /*and this is also*/i = "i";
const{k} = {k: "k"};

exports.a = function () {
    return a;
};
exports.b = function () {
    return b;
};
exports.c = function () {
    return c;
};
exports.d = function () {
    return d;
};
exports.e = function () {
    return e;
};
exports.f = function () {
    return f;
};
exports.g = function () {
    return g;
};
exports.h = function () {
    return h;
};
exports.i = function () {
    return i;
};
exports.j = function () {
    return j;
};
exports.k = function () {
    return k;
};