mediawiki-extensions-AbuseF.../tests/parserTests/concatenation.t

8 lines
218 B
Perl
Raw Permalink Normal View History

'foo' + 'bar' === 'foobar' &
'' + 'foo' + '' === 'foo' &
'foo' + ' ' + 'bar' === 'foo bar' &
'foo' + 234 === 'foo234' &
452 + 'foo' === '452foo' &
'foo' + false === 'foo' &
'foo' + [ 'bar', 'foo' ] === 'foobar\nfoo\n'