oct2ip

Converts an octal IP address into an decimal representation of it.

Created by: hackvertor
Installed 1 times

Category: IP

Created on: Tuesday, October 22, 2024 at 6:37:44 PM

Updated on: Thursday, May 22, 2025 at 12:54:22 PM

This is a built in tag
Tag arguments
[]
Code
class oct2ip {
  encode(input) {
    return input
      .split(".")
      .map((oct) => parseInt(oct, 8))
      .join(".");
  }
}