Hello looking for assistance with writing a function for JS will apprentice any help or useful resource to complete the task. Thank You : I need Write a function that makes the following calculation:
param1 + param2 - param3 + param4 – param5…and keeps with this pattern. If
any non-numerical character is encountered, ¼ of its value is computed as the
numerical value. The result should truncate precision.

E.G. function(11,’a’,2,30,’z’,3) returns 35
11 + (97/4) - 2 + 30 - (122/4) + 3


    also i CANT use String built-in functions Array built-in functions
    
    endsWith()
    includes() 
    indexOf()
    lastIndexOf()
    localeCompare()
    match()
    repeat()
    replace()
    search()
    slice()
    split()
    startsWith()
    substr()
    substring()
    toLocaleLowerCase()
    toLocaleUpperCase()
    toLowerCase()
    toString()
    toUpperCase()
    trim()
    trimLeft()
    trimRight()
    valueOf()
    
    and  also i CANT use Array built-in functions 
    
    concat()
    copyWithin()
    every()
    fill()
    filter()
    find()
    findIndex()
    forEach()
    indexOf()
    isArray()
    join()
    lastIndexOf()
    map()
    pop()
    push()
    reduce()
    reduceRight()
    reverse()
    shift()
    slice()
    some()
    sort()
    splice()
    toString()
    unshift()
    valueOf()










