Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Toutenrab

年加入本站
Toutenrab

最近在 Docs 的活動

檢視所有活動
頁面 日期 回應

Conditional (ternary) Operator


Conditional (ternary) Operator


The hadRealtions ternary wasn't logic: hadRelations ? "Did not have relations" is incorrect because it's the opposite, hadRelations is true.

Conditional (ternary) Operator


"Did not have relations" was at 2 spots in the ternary example, hadRelations ?