1. callee the function being executed. How to use: Arguments.callee ...
Caller is calling the function that executes the function.
2. Object properties are used as arguments, such as: function fn (ARG) {
var arg.name = name | | ' Josn ',
Arg.age = Age | | 60,
...
}
3. when passing in the argument, it would be better to check the value type times wrong and not to error at execution time;
4. if (element = = null) continue; filter null or undefined elements;
5. Isfinite (); Check if the number is infinite;
6. var arr = [function (x) {return x*x;},30]; var val = arr[0] (arr[1]); Console.log (Val); the
7. Custom Function Properties.
A. A limited number of positive integers. if (Isfinite () && n >0 && n = = Math.Round (n)) {//...}// limited positive integer
B. The cached function evaluates to a value that puts it into one of the properties of the function. form: fn.name = ' josn ';
8.
201506230818_ JavaScript authoritative Guide (sixth edition)--callee and Caller, object properties used as arguments, Custom function properties (p175-180)