dir

Sets or retrieves a value that indicates the reading order of the object.

MDN Reference