mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-12-23 22:13:48 +01:00
8 lines
192 B
JavaScript
8 lines
192 B
JavaScript
|
/* */
|
||
|
'use strict';
|
||
|
var $def = require("./$.def"),
|
||
|
$pad = require("./$.string-pad");
|
||
|
$def($def.P, 'String', {lpad: function lpad(n) {
|
||
|
return $pad(this, n, arguments[1], true);
|
||
|
}});
|