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';
}
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: