function getUseStrictDirectives(statements) {
	const directives = [];

	for (let i = 0; i < statements.length; i++) {
		const statement = statements[i];

		if (
			statement.type === "ExpressionStatement" &&
			statement.expression.type === "Literal" &&
			statement.expression.value === "use strict"
		) {
			directives[i] = statement;
		} else {
			break;
		}
	}

	return directives;
}
Gets all of the Use Strict Directives in the Directive Prologue of a group of
statements.
@param {ASTNode[]} statements Statements in the program or function body.
@returns {ASTNode[]} All of the Use Strict Directives.