JS: prohibit native (external) extension properties and functions. See KT-13896
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package foo
|
||||
|
||||
external fun String.charCodeAt(i: Int): Int = noImpl
|
||||
inline fun String.charCodeAt(i: Int): Int = asDynamic().charCodeAt(i)
|
||||
|
||||
// Because String in JS doesn't have hashCode method
|
||||
fun String.myHashCode(): Int {
|
||||
|
||||
Reference in New Issue
Block a user