Skip to content Skip to sidebar Skip to footer
Showing posts with the label Arguments

A Question About Javascript's Slice And Splice Methods

I came across the following code: var f = function () { var args = Array.prototype.slice.call(a… Read more A Question About Javascript's Slice And Splice Methods

Use Event Arguments With Other Arguments?

Here's what I want to do: function someEvent(e) { } onxxxx='someEvent()' and turn tha… Read more Use Event Arguments With Other Arguments?

Regex Disallow A Character Unless Escaped

below is my regex to parse comma separated key-value pairs: function extractParams(str) { var r… Read more Regex Disallow A Character Unless Escaped