|  | 
| 
Синтаксис === выражения? | |||
|---|---|---|---|
| #18+ Исользую  JavaScript Lint 0.3.0 (JavaScript-C 1.5 2004-09-24) Developed by Matthias Miller (http://www.JavaScriptLint.com) при анализе моего скрипта он выдает таой варнинг H:\NewWave\js\_tree\tree.js(345): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==) if (this.tree!=null && this.tree.selected!=null) {this.tree.selected.node.rows[0].cells[1].childNodes[1].className = '';} ...........................................^ че-то я не припомню такой конструкции в javascript — "===" — что бы это могло значить? и почему он не рекомендует сравнивать с null? ... | |||
| : 
 Нравится:
     Не нравится:
     | |||
| 06.02.2007, 16:23 |  | ||
| 
Синтаксис === выражения? | |||
|---|---|---|---|
| #18+ Если я не ошибаюсь, то такая конструкция называется "нестрогое равенство" ... | |||
| : 
 Нравится:
     Не нравится:
     | |||
| 06.02.2007, 16:33 |  | ||
|  | 

| start [/forum/topic.php?fid=22&msg=34316708&tid=1458807]: | 0ms | 
| get settings: | 9ms | 
| get forum list: | 12ms | 
| check forum access: | 3ms | 
| check topic access: | 3ms | 
| track hit: | 38ms | 
| get topic data: | 9ms | 
| get forum data: | 2ms | 
| get page messages: | 41ms | 
| get tp. blocked users: | 1ms | 
| others: | 16ms | 
| total: | 134ms | 

| 0 / 0 | 
