Refer to the code below:
Let textValue = ’1984’;
Which code assignment shows a correct way to convert this string to an integer?
let numberValue = Number(textValue);
Let numberValue = (Number)textValue;
Let numberValue = textValue.toInteger();
Let numberValue = Integer(textValue);