Any URL's added here will be added as
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<p>Filtered Results: <span id="filteredResults"></span></p> <p>Transformed Results: <span id="transformedResults"></span></p>
const spreadsheetRow = [ "Orange", "Yellow", "Blue", "Green", "Orange" ]; const filteredResults = spreadsheetRow.filter(item => item === 'Orange'); document.querySelector('#filteredResults').innerHTML = filteredResults.join(', ') const transformedResults = spreadsheetRow.map(item => item.toLowerCase()); document.querySelector('#transformedResults').innerHTML = transformedResults.join(', ')
Also see: Tab Triggers