'use strict';
module.exports = function (yard) {
	return {
		cm: yard * 91.44,
		in: yard * 36,
		ft: yard * 3
	};
};

'use strict';
module.exports = function (yard) {
	if (typeof yard !== 'number') {
		throw new TypeError('Expected a number');
	}

	return {
		cm: yard * 91.44,
		in: yard * 36,
		ft: yard * 3
	};
};

Add check for type