Characters that act as array literals

Firefox logo 1
Safari logo 1
Chrome logo 1

This vector uses a tricky eval() to determine what characters act as array literals in JavaScript. It uses the iteration position as one character and the iteration position plus two for the other character.

Created by: hackvertor

Created on: Monday, June 24, 2024 at 11:56:14 AM

Updated on: Monday, October 21, 2024 at 4:18:35 AM

Vector type: JS

Template used:
eval("let array =  "+String.fromCodePoint(i,i+2)+";Array.isArray(array)&&log(String($[i]"+"+'-'+"+(i+2)+"))")
Your browser was detected as:
Detecting... Detecting... Detecting... Detecting...

Sample payloads

eval("let array =  "+String.fromCodePoint(i,i+2)+";Array.isArray(array)&&alert(String(0"+"+'-'+"+(i+2)+"))")

Fuzz results

Firefox logo
Firefox 127.0 desktop macOS 10.15

Updated

Mon Jun 24 2024
Found 1 result
Data
91-93
Safari logo
Safari 17.4 desktop macOS 10.15.7

Updated

Mon Jun 24 2024
Found 1 result
Data
91-93
Chrome logo
Chrome 126.0.0.0 desktop macOS 10.15.7

Updated

Mon Jun 24 2024
Found 1 result
Data
91-93