Invalid Way of Breaking Strings: JavaScript for Dummies Example