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 20, 2024 at 5:32:26 PM
Tag arguments
[]
Code
class oct2ip {
encode(input) {
return input
.split(".")
.map((oct) => parseInt(oct, 8))
.join(".");
}
}