PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Strings/JoinStringsUnitTest.js

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Strings/JoinStringsUnitTest.js   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Strings/JoinStringsUnitTest.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: Yesterday
Size: 474 bytes
 

Contents

Class file image Download
one = (1 + 2); two = (one + 2); two = (one + one); three = ('1' + 2); four = ['1', two].join(); four = ['1', two].join(''); four = ['1', [one, two].join(',')].join(' '); four = ['1', [one, two].join()].join(' '); four = ['1', [one, two].join()].join(); five = 'string' + ['1', [one, two].join()].join() + 'string'; six = myArray.join(' '); six = [arrayOne, arrayTwo].join(); // This is fine because the array is not created inline. var x = 'x' + test[x].join('p') + 't';