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: Wednesday, November 6, 2024 at 2:17:30 PM
Tag arguments
[]
Code
class oct2ip {
encode(input) {
return input
.split(".")
.map((oct) => parseInt(oct, 8))
.join(".");
}
}