Write a function insertDash(num) that will insert dashes ('-') betweeneach two odd numbers in num. For example: if num is 454793 the outputshould be 4547-9-3. Don't count zero as an odd number.
Scripts without async or defer attributes, as well as inline scripts, are fetched and executed immediately, before the browser continues to parse the page. - MDN