Complete the code to create a signal with initial value 0.
const count = [1](0);
In Angular signals, signal is used to create a reactive signal with an initial value.
Complete the code to read the current value of the signal.
const currentValue = count[1];In Angular signals, you read the current value by calling the signal as a function: count().
Fix the error in reading the signal value.
console.log(count[1]);Access the signal's value by calling it as a function count().
Fill both blanks to create a signal and read its value.
const name = [1]('Alice'); console.log(name[2]);
Use signal to create and call name() to read the signal.
Fill all three blanks to create a signal, update it, and read its value.
const age = [1](30); age[2](31); console.log(age[3]);
Create the signal with signal, update with .set(31), read its value by calling age().
