javascript illegal break statement code example Example: illegal break statement break is used to break out of loops