Why doesn't the delete operator remove boolean attributes?

后端 未结 0 1347
被撕碎了的回忆
被撕碎了的回忆 2020-12-22 12:56

The delete operator can be used to remove properties (provided they are configurable). However, apparently it doesn\'t work for removing HTML boolean attributes. For instanc

相关标签:
回答
  • 消灭零回复
提交回复
热议问题