Let Pn=k[x1,x2,…,xn] be the polynomial algebra over a field k of characteristic zero in the variables x1,x2,…,xn and Ln be the left-symmetric Witt algebra of all derivations of Pn [D. Burde, Left-symmetric algebras, or pre-Lie algebras in geometry and physics, Cent. Eur. J. Math.4(3) (2006) 323–357]. We describe all right operator identities of Ln and prove that the set of all algebras Ln, where n≥1, generates the variety of all left-symmetric algebras. We also describe a class of general (not only right operator) identities for Ln.