new dropdown number block

Using this block without changing ??? to a number gives a javascript error. Thoughts?