The Block object is used to combine two or more Text objects, JavaScript strings, or even other Block objects in any combination. Like the Text object, the Block object mimics JavaScript string behavior. A call to its substring() method might return portions of several of its constituent objects, with all their HTML formatting intact.
The Block() constructor accepts any number of Text, string, or Block objects. These can be considered to be logically concatenated in the order specified in the argument list.
Leave a Reply
You must be logged in to post a comment.