diff --git a/subnets.html b/subnets.html
index c24a7be..aeaf244 100644
--- a/subnets.html
+++ b/subnets.html
@@ -340,7 +340,7 @@ function network_address(ip, mask)
function subnet_addresses(mask)
{
- return 1<<(32-mask);
+ return 2**(32-mask);
}
function subnet_last_address(subnet, mask)