Friday, October 20, 2017

Different versions of Windows 10

There will be seven different versions, Microsoft says in a blog post .

Here they are:

  • Windows 10 Home, which is the most basic PC version.
  • Windows 10 Pro , which has touch features and is meant to work on two-in-one devices like laptop/tablet combinations, as well as some additional features to control how software updates get installed - important in the workplace.
  • Windows 10 Enterprise, which will have extra management features.
  • Windows 10 Mobile  for smartphones.
  • Windows 10 Mobile Enterprise , which is like the one above, but with more business management features.
  • Windows 10 Education, which is optimized for schools.
  • Windows 10 IoT Core, which is for robots, smart sensors, and - well, if you need it, you'll know it.

Thursday, October 05, 2017

javascript - .includes() not working in Internet Explorer

includes is not supported in Internet Explorer (or Opera)

Instead you can use indexOf. #indexOf returns the index of the first character of the substring if it is in the string, otherwise it returns –1

or you can use below function to in your javascript and you can still use include to work in IE10 / IE11

//IE 10/IE11 fix for includes function
String.prototype.includes = function () {
    'use strict';
    return String.prototype.indexOf.apply(this, arguments) !== -1;
};

Hope this helps!