Legend:
- ✏️ method changes
this
. - 🔒 method does not change
this
.
Array<T>.prototype.*
:
concat(...items: Array: T[]
🔒 ES3
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe", |
// 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" | |
} |
<!-- 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> |
IE6 Only | |
================== | |
_selector {...} | |
IE6 & IE7 | |
================== | |
*html or { _property: } | |
IE7 Only | |
================== |
/** | |
* 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(){ |
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" |