Převést na true false js 1 0

Příklady kódu

15
0

změnit true na false js

var thing = true; //try changing this to false
thing = !thing; //the variable will go from true to false, or from false to true
0
0

od 0, nebo 1 boolean javascript

parse: function (response) {
  response.isChecked = !!+response.isChecked;
  return response;
}

V jiných jazycích

Tato stránka je v jiných jazycích

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................