You will get one of these:
Uncaught (in promise) TypeError: Cannot read property 'toUpperCase' of undefined(…)
ReactCompositeComponent.js:870 Uncaught TypeError: Cannot read property 'displayName' of undefined
if you try to:
<kbd>u</kbd> | |
<kbd>CTRL</kbd>+<kbd>Z</kbd> |
border: yes | |
license: gpl-3.0 |
[{"pid":6895,"tid":6901,"ts":50921777887,"ph":"X","cat":"toplevel","name":"MessagePumpLibevent::OnLibeventNotification","args":{"fd":28},"dur":267,"tdur":258,"tts":41091092}, | |
{"pid":6895,"tid":6901,"ts":50921778018,"ph":"X","cat":"ipc,toplevel","name":"ChannelReader::DispatchInputData","args":{"class":11,"line":165},"dur":55,"tdur":51,"tts":41091217,"bind_id":"0xbdca1c02","flow_in":true}, | |
{"pid":6895,"tid":6901,"ts":50921778077,"ph":"X","cat":"ipc,toplevel","name":"ChannelReader::DispatchInputData","args":{"class":11,"line":165},"dur":8,"tdur":6,"tts":41091275,"bind_id":"0xbdca1d02","flow_in":true}, | |
{"pid":6895,"tid":6901,"ts":50921778087,"ph":"X","cat":"ipc,toplevel","name":"ChannelReader::DispatchInputData","args":{"class":11,"line":97},"dur":49,"tdur":47,"tts":41091285,"bind_id":"0xbdca1e06","flow_in":true}, | |
{"pid":6895,"tid":6901,"ts":50921796755,"ph":"X","cat":"toplevel","name":"MessageLoop::RunTask","args":{"src_file":"../../ipc/ipc_channel_proxy.cc","src_func":"Send"},"dur":59,"tdur":53,"tts":41091435} |
# notes 1 | |
# how Rails change_table works | |
# http://apidock.com/rails/ActiveRecord/ConnectionAdapters/SchemaStatements/change_table | |
def functionA(a) | |
b = 2 | |
yield functionB(a,b) | |
end | |
def functionB(a, b) | |
a + b |