Question · Angular course · Module 5: Services and DI

Methods for changing a signal

Which signal method will you use to change its value based on the previous one (e.g. add an element to an array)?

Answer options

  • set()
  • update()
  • asReadonly()
  • computed()

You can check the correct answer by solving this task in the CodeWorlds game.