Please, i need asistance

You have not explained what you need help with? What is this code for?

i am required to assign data of certain properties of “appState” and then invoke “uiCanInteract”

here is the instruction for it

  • Continuing from where you left off in displayCartTotal , use the formatAsMoney function to set appState.billFormatted to the formatted total bill. The already assigned appState.bill and appState.country should be handy for this task!
  • Set the text content of the data-bill SPAN element to the formatted bill saved in appState.billFormatted
  • Assign an array literal to appState.cardDigits
  • Finally, call uiCanInteract to wrap up displayCartTotal

Who is requiring this for you? Can you please supply a link to the site which has these instructions?