Abduqodiri Qurbonzoda
193aa0f935
Align the Boolean.hashCode() value across platforms
...
Boolean.hashCode() should return 1231/1237 for true/false correspondingly.
As a part of efforts to stabilize Native stdlib.
2023-06-14 08:19:46 +00:00
Ilya Gorbunov
000165b12b
Fix incorrect conversion of Long to String in base 36 in JS KT-48924
2022-03-30 06:13:51 +00:00
Ilya Goncharov
a476d1dbc4
String prototypes polyfills on Object.defineProperty
2020-06-02 14:56:29 +03:00
Ilya Goncharov
9431fc4693
Polyfill for Arrays should be declared with Object.defineProperty
...
To not be enumerable
2020-06-02 14:56:29 +03:00
Abduqodiri Qurbonzoda
e632d58936
Nullable Array.contentEquals/contentHashCode/contentToString #KT-34161
2020-03-12 18:01:23 +03:00
Svyatoslav Kuzmich
dc336c3c8a
[JS] Add marker function getReifiedTypeParameterKType to runtime
...
So compiler bugs would produce a nicer error message instead of:
"TypeError: getReifiedTypeParameterKType is not a function"
2019-11-25 20:25:03 +03:00
Abduqodiri Qurbonzoda
432828a2db
Clarify floating-point to integral conversion rounding behaviour
2019-08-15 00:57:27 +03:00
Ilya Gorbunov
ebb59d51d2
Fix incorrect Double.toLong conversion for infinite values in JS
...
#KT-33225 Fixed
2019-08-09 11:49:28 +03:00
Jake Wharton
1a6069382e
Provide Array.fill in common stdlib
...
KT-32359
2019-08-01 19:02:38 +03:00
Ilya Gorbunov
f8724654a1
Bit query and bit rotation functions for Int, Long, Short, Byte
...
#KT-12749
2019-07-08 19:09:32 +03:00
nikita.movshin
65244b4bea
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
2019-04-23 20:09:22 +03:00
Svyatoslav Kuzmich
b1d303b027
Reorganize stdlib-js sources specific to the current JS backend
...
Move kotlin-stdlib-js project and the sources specific to the current backend to 'stdlib/js-v1' directory,
but leave sources that can be shared with the new IR backend in the common 'stdlib/js' location
with exception for 'stdlib/js/src/generated', which is used exclusively for current backend.
This simplifies sourceset configuration when building stdlib with the new backend.
2019-04-22 20:30:57 +03:00