Why does my OR statement does not work?
i used the spec on
https://www.w3schools.com/js/js_operators.asp
[{"id":"5457b775.aa9b78","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"472566a8.d19fa8","type":"inject","z":"5457b775.aa9b78","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":340,"wires":[["421b72a3.913a2c"]]},{"id":"421b72a3.913a2c","type":"function","z":"5457b775.aa9b78","name":"","func":"if (msg.test === \"undefined\" || msg.test === null) \n {\n msg.test= \"created by function\";\n }\n\nreturn msg;","outputs":1,"noerr":0,"x":480,"y":340,"wires":[["cee116f6.68d138"]]},{"id":"cee116f6.68d138","type":"debug","z":"5457b775.aa9b78","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":630,"y":340,"wires":[]},{"id":"7b1e3e27.a8f7f","type":"function","z":"5457b775.aa9b78","name":"","func":"msg.test= \"test\";\n\nreturn msg;","outputs":1,"noerr":0,"x":330,"y":400,"wires":[["421b72a3.913a2c"]]},{"id":"431ebf97.5cf1c","type":"inject","z":"5457b775.aa9b78","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":400,"wires":[["7b1e3e27.a8f7f"]]}]