dashInsertII

Using the JavaScript language, have the function DashInsertII(num) insert dashes ('-') between each two odd numbers and insert asterisks ('*') between each two even numbers in num. For example: if num is 4546793 the output should be 454*67-9-3. Don't count zero as a negative or positive number.