jsQuiz chunking

by David McClelland

JavaScript

var text = "metaprogramming";

//alert(text.slice(4,7));
//alert(text.chunk(4,7));
//alert(text.chunk(4,11));
alert(text.substring(4,11));
alert(text.substr(4,11));