var copyOfArray = originalArray.slice();Apparently
Array.slice
, if called with no parameters, returns a copy of the entire array. Kinda cool!
This is just a spot to keep miscellaneous links. It also shows you what a geek I am.
var copyOfArray = originalArray.slice();Apparently
Array.slice
, if called with no parameters, returns a copy of the entire array. Kinda cool!
var patient = new Patient { AccountNumber = accountNumber };And the same code using ReSharper formatting (Ctrl-K Ctrl-F):
var patient = new Patient {AccountNumber = accountNumber};I would have thought that ReSharper would take over the Ctrl-K Ctrl-D and Ctrl-K Ctrl-F keyboard shortcuts, but it does not.