lib/pack.js
function validate(boxes, box) {
	var a = box
	for (var i = 0; i < boxes.length; i++) {
		var b = boxes[i]
		if (intersects(a, b)) {
			return false
		}
	}
	return true
}
function validate(boxes, box) {
	var a = box
	for (var i = 0; i < boxes.length; i++) {
		var b = boxes[i]
		if (intersects(a, b)) {
			return false
		}
	}
	return true
}
function validate ( boxes , box ) { var a = box for ( var i = 0 ; i < boxes . length ; i ++ ) { var b = boxes [ i ] if ( intersects ( a , b ) ) { return false } } return true }
determines if the region specified by `box` is clear of all other `boxes`
determines if the region specified by box is clear of all other boxes