Ubuntu

Browsing English (Australia) translation

18 of 1157 results
18.
Given a JavaScript function as argument, call that for the list of (selected) lines and replace the line with the return value of the callback.<br>Example (see also <code>ltrim</code>):<br><code>map 'function(line){return line.replace(/^\s+/, "");}'</code><br>To save you some typing, you can also do this to achieve the same:<br><code>map 'line.replace(/^\s+/, "")'</code>
Given a JavaScript function as argument, call that for the list of (selected) lines and replace the line with the return value of the callback.<br>Example (see also <code>ltrim</code>):<br><code>map 'function(line){return line.replace(/^\s+/, "");}'</code><br>To save you some typing, you can also do this to achieve the same:<br><code>map 'line.replace(/^\s+/, "")'</code>
Translated and reviewed by Joel Pickett on 2011-10-25
Located in script/data/utils.js:326
18 of 1157 results

This translation is managed by Ubuntu English (Australia) Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.