yzt
2023-05-05 4c558c77a6a9d23f057f094c4dc3e315eabef497
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;