d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Turn My Javascript Snippets Into Python > 100fg Per Snippet (10 Snippets)
Add Reply New Topic New Poll
Member
Posts: 14,925
Joined: Jan 3 2008
Gold: 135,879.75
Mar 5 2020 03:03pm
Each snippet is like 5 to 10 lines.


Example:

Code
function addBulletsToTabbedLine(s) {
return s.trim().split('\n').map(line => {
if (line.match(/^\s\s/)) return '* ' + line.slice(2)
}).join('\n')
}
Member
Posts: 12,703
Joined: May 17 2013
Gold: 12,935.00
Mar 8 2020 04:09pm
send them to me and i'll do it
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll