The text-align-last property describes how the last line of a block or a line right before a forced line break is aligned.
object.style.textAlignLast = "value";
<'text-align-last'> = auto | start | end | left | right | center | justify | match-parent
Automatically specified by the user agent.
Inline-level content is aligned to the start edge of the line box.
Inline-level content is aligned to the end edge of the line box.
Inline-level content is aligned to the line left edge of the line box.
Inline-level content is aligned to the line right edge of the line box.
Inline-level content is centered within the line box.
Text is justified according to the method specified by the text-justify property, in order to exactly fill the line box.
Behaves the same as inherit except that an inherited value of start or end is interpreted against the parent's direction value and results in a computed value of either left or right.
World Wide Web Consortium (W3C)