-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathApp.js
47 lines (44 loc) · 1.06 KB
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import React from "react";
import logo from "./logo.svg";
import "./App.css";
const p = window.preload;
function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
<ul>
<li>p.is_dev = {p.is_dev.toString()}</li>
<li>
p.native.example_add( Math.PI, 1.23 ) ={" "}
{p.native.example_add(Math.PI, 1.23)}
</li>
<li>
p.native.example_add( -1.23, Math.E ) ={" "}
{p.native.example_add(-1.23, Math.E)}
</li>
<li>
p.native.example_concat( "🍣su", "shi🍣" ) ={" "}
{p.native.example_concat("🍣su", "shi🍣")}
</li>
<li>
p.native.example_concat( "🌶haba", "nero🌶" ) ={" "}
{p.native.example_concat("🌶haba", "nero🌶")}
</li>
</ul>
</header>
</div>
);
}
export default App;