function shallowEqual(a, b) {
	for (let key in a) if (a[key]!==b[key]) return false;
	for (let key in b) if (!(key in a)) return false;
	return true;
}
Check if two objects have the same keys, and that all values are strictly equal.
	@private