Skip to content

Commit

Permalink
update demo file
Browse files Browse the repository at this point in the history
  • Loading branch information
dofy committed Nov 15, 2023
1 parent 78e04fc commit 572e932
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions en/chapter04-demo.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
function(win, doc) { // 光标定位到前面的{ 然后按 =%
function myFunction() { // Position the cursor in front of { and press =%
var n = ((1 + 2) * (3 + 4)) / 7;
var a = [1, 2, 3, 4, 5, 6, 7];
var f = function(b) {
if(b) {
var f = function (b) {
if (b) {
return false;
} else {
return true;
Expand Down
6 changes: 3 additions & 3 deletions zh-CN/chapter04-demo.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
function(win, doc) { // 光标定位到前面的{ 然后按 =%
function myFunction() { // 光标定位到前面的{ 然后按 =%
var n = ((1 + 2) * (3 + 4)) / 7;
var a = [1, 2, 3, 4, 5, 6, 7];
var f = function(b) {
if(b) {
var f = function (b) {
if (b) {
return false;
} else {
return true;
Expand Down

0 comments on commit 572e932

Please sign in to comment.