Skip to content

Side-effects #28

Description

@FrodoTheTrue

Ofc, a lot of functions have side effects. I wanna research this question and let testla try to test it. Prototype may be like this (now we check not return, but obj:

/*T
(5, 5) => { a: 5, b: 5 }
*/
function sideEffect(a, b) {
    obj.fuck = { //#T# result//
        a: a,
        b: b
    };
    return 'fuck';
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions