I think you just have an errant comma on that line - it’s parsing as two arguments, with the second one having a unary plus operator which leads to the
NaN
.
b
bland-lamp-97030
09/05/2018, 4:24 AM
thanks, that was it - it was failing without the console.log so I introduced a different error there 🤦♂️