mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:37:45 +00:00
LibJS: Add String.prototype.anchor & friends
Adds an implementation of the following StringPrototype methods: anchor, big, blink, bold, fixed, fontcolor, fontsize, italics, link, small, strike, sub, sup.
This commit is contained in:
parent
460c0f9847
commit
6bfeb87572
3 changed files with 137 additions and 0 deletions
|
@ -44,6 +44,7 @@ namespace JS {
|
|||
P(acosh) \
|
||||
P(all) \
|
||||
P(allSettled) \
|
||||
P(anchor) \
|
||||
P(any) \
|
||||
P(apply) \
|
||||
P(arguments) \
|
||||
|
@ -56,7 +57,10 @@ namespace JS {
|
|||
P(atan) \
|
||||
P(atan2) \
|
||||
P(atanh) \
|
||||
P(big) \
|
||||
P(bind) \
|
||||
P(blink) \
|
||||
P(bold) \
|
||||
P(buffer) \
|
||||
P(byteLength) \
|
||||
P(byteOffset) \
|
||||
|
@ -103,9 +107,12 @@ namespace JS {
|
|||
P(finally) \
|
||||
P(find) \
|
||||
P(findIndex) \
|
||||
P(fixed) \
|
||||
P(flags) \
|
||||
P(flat) \
|
||||
P(floor) \
|
||||
P(fontcolor) \
|
||||
P(fontsize) \
|
||||
P(forEach) \
|
||||
P(freeze) \
|
||||
P(from) \
|
||||
|
@ -159,12 +166,14 @@ namespace JS {
|
|||
P(isSafeInteger) \
|
||||
P(isSealed) \
|
||||
P(isView) \
|
||||
P(italics) \
|
||||
P(join) \
|
||||
P(keyFor) \
|
||||
P(keys) \
|
||||
P(lastIndex) \
|
||||
P(lastIndexOf) \
|
||||
P(length) \
|
||||
P(link) \
|
||||
P(log) \
|
||||
P(log1p) \
|
||||
P(log2) \
|
||||
|
@ -214,6 +223,7 @@ namespace JS {
|
|||
P(sin) \
|
||||
P(sinh) \
|
||||
P(slice) \
|
||||
P(small) \
|
||||
P(some) \
|
||||
P(sort) \
|
||||
P(source) \
|
||||
|
@ -221,9 +231,12 @@ namespace JS {
|
|||
P(sqrt) \
|
||||
P(startsWith) \
|
||||
P(sticky) \
|
||||
P(strike) \
|
||||
P(stringify) \
|
||||
P(sub) \
|
||||
P(substr) \
|
||||
P(substring) \
|
||||
P(sup) \
|
||||
P(tan) \
|
||||
P(tanh) \
|
||||
P(test) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue