Parameters: This function does not accept any parameter.
Return Value: This function returns null for strict, async function, and generator function callers.
A few examples are given below for a better understanding of the function methods.
This is from function 2 from function.caller: null
The function was called from the top!
- Google Chrome 1 and above
- Microsoft Edge 12 and above
- Mozilla Firefox 1 and above
- Internet Explorer 8 and above
- Safari 3 and above
- Opera 9.6 and above
Please Login to comment...