79280732

Date: 2024-12-14 13:54:23
Score: 1
Natty:
Report link

We need to make shure that the value isn't a number

let validValue  = parseInt(value).toString();
await Preferences.set({
    key: 'key',
    value: validValue,
});
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: VĂ­tor Campos