Skip to content

Commit 3c06012

Browse files
committed
remove some methods
1 parent 034aab9 commit 3c06012

File tree

1 file changed

+0
-2
lines changed
  • packages/svelte/src/compiler/phases

1 file changed

+0
-2
lines changed

packages/svelte/src/compiler/phases/scope.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ const globals = {
7070
'Number.parseFloat': [NUMBER, Number.parseFloat],
7171
'Number.parseInt': [NUMBER, Number.parseInt],
7272
'Object.is': [[true, false], Object.is],
73-
'Object.hasOwn': [[true, false], Object.hasOwn],
7473
String: [STRING, String],
7574
'String.fromCharCode': [STRING, String.fromCharCode],
7675
'String.fromCodePoint': [STRING, String.fromCodePoint]
@@ -117,7 +116,6 @@ const prototype_methods = {
117116
startsWith: [[true, false], call_bind(string_proto.startsWith)],
118117
endsWith: [[true, false], call_bind(string_proto.endsWith)],
119118
isWellFormed: [[true, false], call_bind(string_proto.isWellFormed)],
120-
lastIndexOf: [NUMBER, call_bind(string_proto.lastIndexOf)],
121119
normalize: [STRING, call_bind(string_proto.normalize)],
122120
padEnd: [STRING, call_bind(string_proto.padEnd)],
123121
padStart: [STRING, call_bind(string_proto.padStart)],

0 commit comments

Comments
 (0)