Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For example quirks mode in Internet Explorer: https://developer.mozilla.org/en-US/docs/Web/API/Document/co...

  if (document.compatMode == "BackCompat") {
    // in Quirks mode
  }


That’s using backcompat in source code, like “CompatMode”. Thankfully dictionaries aren’t full of all the variable names that exist in source code.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: