String.prototype.padStart() returns worng String when using a char null
Reported by
pmpml...@gmail.com,
Mar 6 2018
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 Steps to reproduce the problem: 1. "str".padStart(10, null); What is the expected behavior? " str" What went wrong? returns "nullnulstr" Did this work before? N/A Chrome version: v8: '6.1.534.50' Channel: n/a OS Version: 10.0 Flash Version: Shockwave Flash 28.0 r0 using node v.8.9.4
,
Mar 6 2018
Ok, Thanks. Sorry, thought it would be a bug. This can be closed now.
,
Mar 7 2018
,
Mar 7 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by woxxom@gmail.com
, Mar 6 2018