Hello, I think that undefined values should be handled as falsy values in attributes. https://jsfiddle.net/0yzf8wgf/ Thanks.