Wie funktioniert die Math.max.apply ()?

Wie funktioniert das?Math.max.apply() Arbeit?.

<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <script>
      var list = ["12","23","100","34","56",
                                    "9","233"];
      console.log(Math.max.apply(Math,list));    
  </script>
</body>
</html>

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/max

Der obige Code findet die maximale Anzahl in der Liste. Kann mir jemand sagen, wie der folgende Code funktioniert? Es scheint, dass es funktioniert, wenn ich bestanden habenull or Math.

console.log(Math.max.apply(Math,list));

Macht das allesuser-defined/Native functions Haben Sie eine call and apply-Methode, die wir verwenden können ?.

Antworten auf die Frage(5)

Ihre Antwort auf die Frage