Whenever a petition is filed in a juvenile court alleging that a minor is a person within the description of Section 602, and while the case is before the juvenile court, the statute of limitations applicable under the general law to the offense alleged to bring the minor within such description is suspended.