A
Q. Which method can be used to convert a string to an integer?
Code:
let value = '42';
let result = parseInt(value);
let result = parseInt(value);
- Correct Answer - Option(C)
- Views: 33
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.