79217786

Date: 2024-11-23 12:11:35
Score: 0.5
Natty:
Report link

It's an easy task do it like this:

const string = "3E8.8F5C28F5C28";
// Remove the fractional part
const sanitizedString = string.split(".")[0];
const result = sanitizedString.padStart(sanitizedString.length + (sanitizedString.length % 2), '0').match(/.{1,2}/g) || [];
console.log(result);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Md Yasin Ansari