javascript中等于(==)与全等(===)的区别说明_javascript技巧
来源:懂视网
责编:小采
时间:2020-11-27 20:58:05
javascript中等于(==)与全等(===)的区别说明_javascript技巧
javascript中等于(==)与全等(===)的区别说明_javascript技巧: var y = 5; if(y == 5){ document.write(== '5' True ); } else{ document.write(== '5' False ); } if(y == 5){ document.write(== 5 数字 is True ); } else{ document.write(== 5 数字 False ); } if( y === 5){ document.write(=== 数字5 is
导读javascript中等于(==)与全等(===)的区别说明_javascript技巧: var y = 5; if(y == 5){ document.write(== '5' True ); } else{ document.write(== '5' False ); } if(y == 5){ document.write(== 5 数字 is True ); } else{ document.write(== 5 数字 False ); } if( y === 5){ document.write(=== 数字5 is
javascript中等于(==)与全等(===)的区别说明_javascript技巧
javascript中等于(==)与全等(===)的区别说明_javascript技巧: var y = 5; if(y == 5){ document.write(== '5' True ); } else{ document.write(== '5' False ); } if(y == 5){ document.write(== 5 数字 is True ); } else{ document.write(== 5 数字 False ); } if( y === 5){ document.write(=== 数字5 is