Skip to content

Commit 2e51e7b

Browse files
committed
add comment for second function
1 parent 7a2c63d commit 2e51e7b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • problemSolvingPractices/problems/p3-ConversionTool

problemSolvingPractices/problems/p3-ConversionTool/script.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ function BinaryToDecimal(Binary){
112112

113113
}
114114

115+
// // IPv4 Decimal to Binary
116+
115117
function DeicmalToBinary(Decimal){
116118

117119
// error checks
@@ -155,7 +157,7 @@ function DeicmalToBinary(Decimal){
155157
} else {
156158
firstOctet +=0
157159
}
158-
}
160+
}
159161

160162
let octetTwo = Number(octets[1])
161163

0 commit comments

Comments
 (0)