Google spreadsheet custom function passing parameters undefined value

calling function

running appscript

as you can see the function can return the value from the cell i selected

but in apps script, the cell value from the spreadsheet is undefined

i’m confused, why the “undefined / null” value can be returned exact value by the cell i pass?