Make assert.js a module

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Correctness
    • Fully Compatible
    • 200
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      The exported functions still need to be globally accessible (they're used like genuine globals that would otherwise be burdensome to import each time).

      Still, having it contained within a module allows for clearer interfaces, localized variables, flatter structures (no IIFEs), and JSDoc support (IIFEs can trip it up, which is why we often need the .d.ts files).

            Assignee:
            Steve McClure
            Reporter:
            Steve McClure
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: