var $yoyo = window.location.hash.substring(1);
This simply means we’re taking a substring consisting of character 1 (0-indexed, so second) onwards. See the substring docs.
var $yoyo = window.location.hash.substring(1);
This simply means we’re taking a substring consisting of character 1 (0-indexed, so second) onwards. See the substring docs.