main.js
function endsWith(source, dest, path) {
	return (
		path[path.length - 2] === source &&
		path[path.length - 1] === dest
	);
}
function endsWith(source, dest, path) {
	return (
		path[path.length - 2] === source &&
		path[path.length - 1] === dest
	);
}
function endsWith ( source , dest , path ) { return ( path [ path . length - 2 ] === source && path [ path . length - 1 ] === dest ) ; }
Whether the last step of the transform is from "source" to "dest"
@param {string} source - The source code format
@param {string} dest - The destination format
@param {Array.<string>} path - Path of format transformations
@return {Boolean} true if "source" -> "dest"  is the last step
Whether the last step of the transform is from source to dest