forked from 0x2620/oxjs
in documentation use foo, not <code>foo</code>
This commit is contained in:
parent
bd5a4b6318
commit
73fa856900
16 changed files with 89 additions and 105 deletions
|
|
@ -104,8 +104,8 @@ Ox.keyOf = function(object, value) {
|
|||
|
||||
/*@
|
||||
Ox.makeObject <f> Takes an array and returns an object
|
||||
<code>Ox.makeObject</code> is a helper for functions with two alternative
|
||||
signatures like <code>('key', 'val')</code> and <code>({key: 'val'})</code>.
|
||||
`Ox.makeObject` is a helper for functions with two alternative signatures
|
||||
like `('key', 'val')` and `({key: 'val'})`.
|
||||
> (function() { return Ox.makeObject(arguments); }({foo: 1, bar: 2}))
|
||||
{foo: 1, bar: 2}
|
||||
> (function() { return Ox.makeObject(arguments); }('foo', 1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue