Interviews1 answer
What is the difference between <!-- if: $data.isActive() == true --> and <!-- if: $data.isActive() --> in knockout.js ?
1 Answer
As compared to statement, for statement rendering engine will take 1 extra step for check "== true".
As both statements behaves same, so it is preferred to use instead of to avoid the extra step by rendering engine.
Santosh Kumar AdidawarpuPosted May 8, 2016, 10:22 AM EDT
