Show Buttons
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkdin
Share On Reddit
Contact us
Hide Buttons

Add / Push Characters to string in Javascript

[et_pb_section admin_label=”section”][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” text_text_color=”#000000″ use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

var a  = ‘wxy’;

a = a.concat(‘z’);

console.log(a); // wxyz

[/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *