Yes, that is valid. The only issue seems to be with the string values.
Just as an example, here’s 1.8 go-debug.js failing in the same way: https://codepen.io/simonsarris/pen/dgagpN?editors=1011
That 2.0 go.js isn’t silently failing is our fault, but it ought to fail when using the Debug library for both versions.