davidwaterston


Member since 02/04/2012

Name: David Waterston

Website: http://dvolvr.davidwaterston.com

2 snippets

1738 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

davidwaterston's Recent SnippetsTagged javascript



« Prev 1 Next »
Javascript which converts a Date object into an ISO 8601 formatted string - 'YYYY-MM-DDTHH:mm:ss.sssZ' - with a fallback for when the function 'toISOString' doesn't exist (e.g. IE 8 or less). Usage: var now = new Date; console.log(now.toISOStrin...
0 1267 posted 11 years ago by davidwaterston
A simple template for a JavaScript function which allows for an arbitrary number of named arguments to be passed in. This is achieved by passing a single object as an argument with each of the 'real' arguments being a key/value pair. In this way argu...
0 1088 posted 11 years ago by davidwaterston
« Prev 1 Next »