We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d90b881 commit a0ca3afCopy full SHA for a0ca3af
packages/gems/js/lib/js.rb
@@ -195,10 +195,10 @@ def respond_to_missing?(sym, include_private)
195
self[sym].typeof == "function"
196
end
197
198
- # Call the receiver (a JavaScript function) with `undefined` as its receiver context.
+ # Call the receiver (a JavaScript function) with `undefined` as its receiver context.
199
# This method is similar to JS::Object#call, but it is used to call a function that is not
200
# a method of an object.
201
- #
+ #
202
# floor = JS.global[:Math][:floor]
203
# floor.apply(3.14) # => 3
204
# JS.global[:Promise].new do |resolve, reject|
0 commit comments