yzt
2023-05-26 de4278af2fd46705a40bac58ec01122db6b7f3d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Jasmine 2.1 requires that objects be constructed with the same constructor in
// order to be considered equal.  The 'arguments' keyword looks like an array, but
// it's actually (at least in Chrome and Firefox) constructed with a special
// constructor, so it never compares Jasmine-equal to an array.  This function lets
// us create an arguments array.
 
/**
 * Jasmine 2.1 requires that objects be constructed with the same constructor in
 * order to be considered equal.  The 'arguments' keyword looks like an array, but
 * it's actually (at least in Chrome and Firefox) constructed with a special
 * constructor, so it never compares Jasmine-equal to an array.  This function lets
 * us create an arguments array.
 * @alias getArguments
 * @return {Array} The arguments passed to the function.
 */
function getArguments() {
  return arguments;
}
export default getArguments;