Test case details

Preparation Code

Test cases

Test #1

'.foo #bar'.indexOf('#')

Test #2

/#/.test('.foo #bar');

Test #3

/(?:#)/.test('.foo #bar');