Advanced
R
Q94 / 100
What does "sys.call()" versus "sys.function()" return when called inside a function?
Correct! Well done.
Incorrect.
The correct answer is B) sys.call() returns the unevaluated call that invoked the current function, while sys.function() returns the actual function object/definition being executed
B
Correct Answer
sys.call() returns the unevaluated call that invoked the current function, while sys.function() returns the actual function object/definition being executed
Explanation
sys.call() gives the call expression (function name and arguments as written), whereas sys.function() gives the function definition itself, useful for introspection in advanced metaprogramming.
Progress
94/100