Skip to content

Instantly share code, notes, and snippets.

@MadhuNimmo
MadhuNimmo / rangeerror.js
Created October 14, 2022 19:53
Simplest solution to JSON.stringify RangeError: Invalid string length
var out="[";
for(var indx=0;indx<data.length-1;indx++){
out+=JSON.stringify(data[indx],null,4)+",";
}
out+=JSON.stringify(data[data.length-1],null,4)+"]";
@john-walks-slow
john-walks-slow / surfingkeys_pref.js
Last active October 25, 2023 23:36
surfingkeys_pref
const {
aceVimMap,
mapkey,
imap,
imapkey,
getClickableElements,
vmapkey,
map,
unmap,
cmap,