请解释函数调用中的javascript:参数

请解释函数调用中的javascript:参数,javascript,Javascript,请解释函数调用 函数调用中“/”的用途是什么 initGraph(totalPaymentOutstanding / creditLimit, totalPayment / creditLimit, minPayment / totalPayment); var initGraph = function(totalOutstanding, totalPayment, minPayment) { //code here .... .. } 这只是一个划分。将TotalPaymentUnde

请解释函数调用 函数调用中“/”的用途是什么

initGraph(totalPaymentOutstanding / creditLimit, totalPayment / creditLimit, minPayment / totalPayment);



var initGraph = function(totalOutstanding, totalPayment, minPayment) {
//code here
....
..
}

这只是一个划分。将
TotalPaymentUnderstand
除以
creditLimit
,然后将结果作为参数提供给函数

 totalPaymentOutstanding / creditLimit
未付款总额除以信用额度


/是一个算术运算符:

initGraph()
是一个函数,您还没有在此处发布该函数。。。那么我们应该如何知道呢?它有点像
*
+
-
…这个函数用于绘制图形。为此,我们将传递一些数字作为参数。在这种情况下,我需要知道函数调用中的“/”范围。它是一个除法运算符,在将其作为参数发送到函数之前,它们将例如
TotalPaymentUnderstand
除以
creditLimit