You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The arrays' equal function does not use strict (===) comparison when comparing structures. This could cause problems for instance when comparing values 0 and "".
Currently, arrays that are initialized with a DOM/jQuery element will always get data-value-type="string", which means that JSAV grading will work although the values in the array of the model solution would have data-value-type="number". (check: examples/simple-exercise.html)
Trees on the other hand use strict comparison, when comparing nodes.
The text was updated successfully, but these errors were encountered:
The arrays' equal function does not use strict (===) comparison when comparing structures. This could cause problems for instance when comparing values 0 and "".
Currently, arrays that are initialized with a DOM/jQuery element will always get
data-value-type="string"
, which means that JSAV grading will work although the values in the array of the model solution would havedata-value-type="number"
. (check: examples/simple-exercise.html)Trees on the other hand use strict comparison, when comparing nodes.
The text was updated successfully, but these errors were encountered: