Member since 02/04/2012

Name: David Waterston

Website: http://dvolvr.davidwaterston.com

2 snippets

1790 profile views

0 Comment(s) Posted

View their favorites



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 1299 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 1124 posted 11 years ago by davidwaterston
« Prev 1 Next »