{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node-v0.x-archive/issues/25859","labels_url":"https://api.github.com/repos/nodejs/node-v0.x-archive/issues/25859/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node-v0.x-archive/issues/25859/comments","events_url":"https://api.github.com/repos/nodejs/node-v0.x-archive/issues/25859/events","html_url":"https://github.com/nodejs/node-v0.x-archive/issues/25859","id":100872195,"number":25859,"title":"Math.random() base9 unexpected output","user":{"login":"alexindigo","id":127063,"avatar_url":"https://avatars.githubusercontent.com/u/127063?v=3","gravatar_id":"","url":"https://api.github.com/users/alexindigo","html_url":"https://github.com/alexindigo","followers_url":"https://api.github.com/users/alexindigo/followers","following_url":"https://api.github.com/users/alexindigo/following{/other_user}","gists_url":"https://api.github.com/users/alexindigo/gists{/gist_id}","starred_url":"https://api.github.com/users/alexindigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexindigo/subscriptions","organizations_url":"https://api.github.com/users/alexindigo/orgs","repos_url":"https://api.github.com/users/alexindigo/repos","events_url":"https://api.github.com/users/alexindigo/events{/privacy}","received_events_url":"https://api.github.com/users/alexindigo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node-v0.x-archive/labels/V8","name":"V8","color":"e102d8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-13T21:24:01Z","updated_at":"2015-09-29T06:44:03Z","closed_at":"2015-09-29T06:38:35Z","body":"I can reproduce it this bug in `node@0.12.4` and `chrome@44.0`, but not in Safari.\r\n\r\nHere how it goes:\r\n\r\n```\r\nMath.random().toString(8)\r\n// => \"0.40556507362\"\r\n\r\nMath.random().toString(10)\r\n// => \"0.728570100152865\"\r\n\r\nMath.random().toString(9)\r\n// => \"0.0827732187366627667757170678236484038136048078814333065003273475748823847052171505611745607131107775207264584450514430015045848810260884402854460545710123610180560420254670314355378040324234254371807147184782268386233707765468214036027400221665283600662327470517055372488331452573625436747586416472320135758616410480125571575128186018106771302258702311387174723583854613620414064252707610521084320604083158107814850408261118351134136042420656051432230271023038632483667287813104143501804530437677857800702418378151856753864260337348333626771102784763227152852152412073514384883341043635024681282680855725652011361101288818730870626807412515180721011558753700528516431638256216633145222014073687153461000157367686788415433786076034107172124101737883467507825555026358072200447606370760138778858157342802675600025362366176175752107284513664182760134667188055552867358360073844732540377024745342031316180555142182557020612006654255356586627712774478233665572780235785105615638546715172277637084700477431611300125377148225208376471737728356737132737442448517622656208545342183141308840668654334465064875\"\r\n```\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/nodejs/node-v0.x-archive/issues/comments/143960065","html_url":"https://github.com/nodejs/node-v0.x-archive/issues/25859#issuecomment-143960065","issue_url":"https://api.github.com/repos/nodejs/node-v0.x-archive/issues/25859","id":143960065,"user":{"login":"bnoordhuis","id":275871,"avatar_url":"https://avatars.githubusercontent.com/u/275871?v=3","gravatar_id":"","url":"https://api.github.com/users/bnoordhuis","html_url":"https://github.com/bnoordhuis","followers_url":"https://api.github.com/users/bnoordhuis/followers","following_url":"https://api.github.com/users/bnoordhuis/following{/other_user}","gists_url":"https://api.github.com/users/bnoordhuis/gists{/gist_id}","starred_url":"https://api.github.com/users/bnoordhuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnoordhuis/subscriptions","organizations_url":"https://api.github.com/users/bnoordhuis/orgs","repos_url":"https://api.github.com/users/bnoordhuis/repos","events_url":"https://api.github.com/users/bnoordhuis/events{/privacy}","received_events_url":"https://api.github.com/users/bnoordhuis/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T06:44:03Z","updated_at":"2015-09-29T06:44:03Z","body":"> if you don't want to open a v8 issue, please do open a new issue on nodejs/node.\r\n\r\nFixing V8 bugs is not really in our remit.  This should be directed to the V8 bug tracker.\r\n\r\nI'm not sure if it qualifies as a bug.  I don't think it's a spec violation but you can argue it's a quality-of-implementation issue."}}