Make jsTestLog check for function arity

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Correctness
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I recently misused jsTestLog by assuming that (like the 'print' function) it would print all of the arguments passed into it. I only noticed because I was looking at the js test log output and realized that only the first argument was printed. Maybe we could add some sort of check to let callers know if they are misusing it, as suggested in the comments.

            Assignee:
            Unassigned
            Reporter:
            Militsa Sotirova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: