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
In the following js code the must parameter of the myObj object only appears in the console, if we not use the unit.js package (ver 0.1.8):
require("unit.js");// delete this line and the result will be goodvarmyObj={"parameter": "value"};myObj.must="must_value";console.log(JSON.stringify(myObj,undefined,2));
Is it a bug, or is it a well-known feature of unit.js, which has to be taken into account when testing with it?
Thanks for the answer!
The text was updated successfully, but these errors were encountered:
In the following js code the
must
parameter of themyObj
object only appears in the console, if we not use theunit.js
package (ver 0.1.8):Is it a bug, or is it a well-known feature of unit.js, which has to be taken into account when testing with it?
Thanks for the answer!
The text was updated successfully, but these errors were encountered: