UUIDs?

Nuno Job nunojobpinto at gmail.com
Thu Mar 15 09:34:54 PDT 2012


(~~(Math.random() * 1e9)).toString(36) + Date.now();

On Thu, Mar 15, 2012 at 4:33 PM, Rick Waldron <waldron.rick at gmail.com>wrote:

> Axel,
>
> Have you ever seen this?
> http://www.broofa.com/2008/09/javascript-uuid-function/
>
> I've been using this for several years
>
>
> Rick
>
>
> On Thu, Mar 1, 2012 at 5:45 PM, Axel Rauschmayer <axel at rauschma.de> wrote:
>
>> UUIDs are useful for many tasks. One cannot create good ones in
>> JavaScript without browsers exposing more of the underlying platform. Would
>> it make sense to add UUID generation to ECMAScript.next? Or is that
>> something for a browser API?
>>
>> Axel
>>
>>         --
>> Dr. Axel Rauschmayer
>> axel at rauschma.de
>>
>> home: rauschma.de
>> twitter: twitter.com/rauschma
>> blog: 2ality.com
>>
>>
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
>>
>>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120315/f0662d9c/attachment-0001.html>


More information about the es-discuss mailing list