Legend:
- ✏️ method changes
this. - 🔒 method does not change
this.
Array<T>.prototype.*:
concat(...items: Array: T[]🔒 ES3
| Number.prototype.pad = function(size) { | |
| var s = String(this); | |
| while (s.length < (size || 2)) {s = "0" + s;} | |
| return s; | |
| } | |
| (1).pad(3) // => "001" | |
| (10).pad(3) // => "010" | |
| (100).pad(3) // => "100" |
| /** | |
| * Convert From/To Binary/Decimal/Hexadecimal in JavaScript | |
| * https://gist.github.com/faisalman | |
| * | |
| * Copyright 2012-2015, Faisalman <[email protected]> | |
| * Licensed under The MIT License | |
| * http://www.opensource.org/licenses/mit-license | |
| */ | |
| (function(){ |
| IE6 Only | |
| ================== | |
| _selector {...} | |
| IE6 & IE7 | |
| ================== | |
| *html or { _property: } | |
| IE7 Only | |
| ================== |
| <!-- Design inspired by: https://dribbble.com/shots/1992789 --> | |
| <form> | |
| <input type="text" /> | |
| <div class="after"></div> | |
| <input type="submit" /> | |
| </form> | |
| <h4> </h4> | |
| <p>Click search, Enter to submit</p> |
| // Place your settings in this file to overwrite default and user settings. | |
| { | |
| "editor.wrappingColumn": 0, | |
| "files.exclude": { | |
| "**/node_modules": {}, | |
| "typings": {}, | |
| "**/*.map": {}, | |
| "**/*.js": { | |
| "when": "$(basename).ts" | |
| } |
| "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe", |